Allow collapsible form in box

See issue #523
pull/524/head
Florian Schaeffer 2015-06-19 12:29:00 +02:00
parent 8feef037b7
commit 3e48dba688
1 changed files with 2 additions and 2 deletions

4
dist/js/app.js vendored
View File

@ -555,7 +555,7 @@ function _init() {
//Find the box parent
var box = element.parents(".box").first();
//Find the body and the footer
var box_content = box.find("> .box-body, > .box-footer");
var box_content = box.find("> .box-body, > .box-footer, > form >.box-body, > form > .box-footer");
if (!box.hasClass("collapsed-box")) {
//Convert minus into plus
element.children(":first")
@ -725,4 +725,4 @@ function _init() {
}
});
};
}(jQuery));
}(jQuery));