Pman.Dialog.CoreProject.bjs
[Pman.Core] / Pman.Dialog.CoreProject.js
index 99e32d0..e0ac85d 100644 (file)
@@ -139,11 +139,13 @@ Pman.Dialog.CoreProject = {
           {
               if (action.type == 'setdata') {
                  //_this.dialog.el.mask("Loading");
-                 //this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+                 if (_this.data.id) {
+                     this.load({ method: 'GET', params: { '_id' : _this.data.id }});
+                 }
                  return;
               }
               if (action.type == 'load') {
-           
+                  
                   return;
               }
               if (action.type =='submit') {