From: Alan Knowles Date: Tue, 24 Mar 2015 03:46:12 +0000 (+0800) Subject: Pman.Dialog.PersonEditor.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9f42255a6ca6ff11c280ff7e4cd1efefab7ec10b Pman.Dialog.PersonEditor.js --- 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]);