Explorar o código

Merge pull request #524 from fschaeffer/patch-1

Allow collapsible form in box
Abdullah Almsaeed %!s(int64=9) %!d(string=hai) anos
pai
achega
4b1e5f1e42
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dist/js/app.js

+ 1 - 1
dist/js/app.js

@@ -557,7 +557,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")