DataObjects/Core_notify_recur.php
[Pman.Core] / Pman.Dialog.PersonEditor.js
index 9aa1827..b1413e3 100644 (file)
@@ -174,13 +174,14 @@ Pman.Dialog.PersonEditor.prototype = {
             if (typeof(il) != 'object') {
                 // no permission for Core offices.. - can not show department...
                 if (il == 'office_id_name' && !Pman.hasPerm('Core.Offices','S')) {
-                    return true;;
+                    return true;
                 }
                 
                 _this.form.addxtype(_this.itemTypes[il]);
                 return true;
             }
             _this.form.addxtype(Roo.apply(il, _this.itemTypes[il.name]));
+            return true;
             
         });
         var ef = this.dialog.getLayout().getEl().createChild({tag: 'div'});