Roo/form/BasicForm.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 06:24:42 +0000 (14:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 10 Feb 2011 06:24:42 +0000 (14:24 +0800)
Roo/form/BasicForm.js

index e8f3188..a069f87 100644 (file)
@@ -243,6 +243,10 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
     // private
     beforeAction : function(action){
         var o = action.options;
+        if (this.dialog) {
+            o.waitMsg = true;
+            o.waitMsgTarget = this.dialog.el;
+        }
         if(o.waitMsg){
             if(this.waitMsgTarget === true){
                 this.el.mask(o.waitMsg, 'x-mask-loading');