From 9f42255a6ca6ff11c280ff7e4cd1efefab7ec10b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 24 Mar 2015 11:46:12 +0800 Subject: [PATCH] Pman.Dialog.PersonEditor.js --- Pman.Dialog.PersonEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pman.Dialog.PersonEditor.js b/Pman.Dialog.PersonEditor.js index 9aa1827c..84e23bcf 100644 --- a/Pman.Dialog.PersonEditor.js +++ b/Pman.Dialog.PersonEditor.js @@ -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]); -- 2.39.2