Accordions are now collapsable. Fixed jshint warning.

This commit is contained in:
Chris Houseknecht
2014-03-06 15:22:16 -05:00
parent 414e43c469
commit 129fed0c64
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
} }

View File

@@ -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 () {