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

2
dist/js/app.js vendored
View File

@ -555,7 +555,7 @@ function _init() {
//Find the box parent //Find the box parent
var box = element.parents(".box").first(); var box = element.parents(".box").first();
//Find the body and the footer //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")) { if (!box.hasClass("collapsed-box")) {
//Convert minus into plus //Convert minus into plus
element.children(":first") element.children(":first")