Browse Source

Update Admin.js

Fix for longer forms, while removing unnecessary scroll from ajax modal-model dialogs.
Before:
![Before](http://jajus.com/Before.png)

After:
![After](http://jajus.com/After.png)

After (Long Form):
![After](http://jajus.com/After2.png)
sujayjaju 10 years ago
parent
commit
5319455cf0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Resources/public/Admin.js

+ 2 - 1
Resources/public/Admin.js

@@ -64,7 +64,8 @@ var Admin = {
         });
         jQuery('.modal-body', modal).css({
             width:    'auto',
-            height:   '90%'
+            height:   '90%',
+            overflow: 'auto'
         });
     },
     setup_select2: function(subject) {