mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 21:49:27 -02:30
Accordions are now collapsable. Fixed jshint warning.
This commit is contained in:
@@ -336,7 +336,7 @@ angular.module('Utilities', ['RestServices', 'Utilities'])
|
|||||||
if (defn.story.steps.length > 1) {
|
if (defn.story.steps.length > 1) {
|
||||||
btns.push({
|
btns.push({
|
||||||
text: "Prev",
|
text: "Prev",
|
||||||
click: function (e) {
|
click: function () {
|
||||||
if (current_step - 1 === 0) {
|
if (current_step - 1 === 0) {
|
||||||
$('#help-prev-button').prop('disabled', true);
|
$('#help-prev-button').prop('disabled', true);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies', 'Utilities'])
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(this).accordion({
|
$(this).accordion({
|
||||||
collapsible: false,
|
collapsible: true,
|
||||||
heightStyle: 'content',
|
heightStyle: 'content',
|
||||||
active: active,
|
active: active,
|
||||||
activate: function () {
|
activate: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user