Pman.Dialog.PersonEditor.js
authorAlan Knowles <alan@roojs.com>
Tue, 24 Mar 2015 03:46:12 +0000 (11:46 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 24 Mar 2015 03:46:12 +0000 (11:46 +0800)
Pman.Dialog.PersonEditor.js

index 9aa1827..84e23bc 100644 (file)
@@ -174,7 +174,7 @@ 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]);