From 3e48dba6884d2dcaec5bba9bbf0837bf4c047263 Mon Sep 17 00:00:00 2001 From: Florian Schaeffer Date: Fri, 19 Jun 2015 12:29:00 +0200 Subject: [PATCH] Allow collapsible form in box See issue #523 --- dist/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/js/app.js b/dist/js/app.js index 64dacfa2e..826fb98f2 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -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));