Roo/bootstrap/Form.js
authoredward <edward@roojs.com>
Tue, 15 May 2018 09:23:44 +0000 (17:23 +0800)
committeredward <edward@roojs.com>
Tue, 15 May 2018 09:23:44 +0000 (17:23 +0800)
Roo/bootstrap/Form.js

index 2f3576f..02af5f1 100644 (file)
@@ -240,7 +240,12 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
         var o = action.options;
 
         if(this.loadMask){
-            this.el.mask(o.waitMsg || "Sending", 'x-mask-loading');
+            
+            if(this.maskBody){
+                Roo.get(document.body).mask(o.waitMsg || "Sending", 'x-mask-loading')
+            } else {
+                this.el.mask(o.waitMsg || "Sending", 'x-mask-loading');
+            }
         }
         // not really supported yet.. ??