提交 3e48dba6 编写于 作者: F Florian Schaeffer

Allow collapsible form in box

See issue #523
上级 8feef037
......@@ -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));
\ No newline at end of file
}(jQuery));
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册