Pman.Dialog.VerifyAccess.bjs
[Pman.Core] / Pman.Dialog.VerifyAccess.js
index d7636b8..fae1db1 100644 (file)
@@ -53,6 +53,8 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
       },
      show : function (_self)
       {
+          _this.dialog.hide();
+          
           var path = window.location.pathname.split('/');
           
           var authorized_key = path.pop();
@@ -62,12 +64,14 @@ Roo.apply(Pman.Dialog.VerifyAccess.prototype, {
           new Pman.Request({
               url: baseURL + '/Core/VerifyAccess',
               method : 'POST',
+              mask : 'Loading...',
               params : {
                   id : id,
                   authorized_key : authorized_key,
                   _to_data : 1
               }, 
               success : function(res) {
+                  _this.dialog.hide();
                   Roo.log(res);
                   return;
                   _this.form.setValues(res.data);