Pman.Dialog.PersonEditor.js
authorChris <chris@roojs.com>
Tue, 18 Mar 2014 08:34:25 +0000 (16:34 +0800)
committerChris <chris@roojs.com>
Tue, 18 Mar 2014 08:34:25 +0000 (16:34 +0800)
Pman.Dialog.PersonEditor.js

index 6f8ce47..48cbda6 100644 (file)
@@ -81,8 +81,8 @@ Pman.Dialog.PersonEditor.prototype = {
                 actioncomplete: function(f, act) {
                     _this.dialog.el.unmask();
                     if (act.type == 'load') {
+                        _this.form.findField('countries').setValue();// set empty array by default...
                         _this.data = act.result.data;
-                         
                     }
                     
                                 
@@ -141,7 +141,7 @@ Pman.Dialog.PersonEditor.prototype = {
 
                         }
                         
-                        _this.form.findField('countries').setValue();// set empty array by default...
+                        
                         return;
                     }