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