Allow collapsible form in box

See issue #523
This commit is contained in:
Florian Schaeffer
2015-06-19 12:29:00 +02:00
parent 8feef037b7
commit 3e48dba688

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