X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.AdminContacts.js;h=7dec5823e8c93e8e25ec39c36f2cee73c9655df6;hp=d0f4609820b8c3f20d86d6a9c00d669ac1475a06;hb=HEAD;hpb=714bdf5b79259eaf89c6d899b420ac77e2dae68a diff --git a/Pman.Tab.AdminContacts.js b/Pman.Tab.AdminContacts.js index d0f4609..7dec582 100644 --- a/Pman.Tab.AdminContacts.js +++ b/Pman.Tab.AdminContacts.js @@ -15,12 +15,12 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ 'ec211f7c20af43e742bf2570c3cb84f9' :"Add", '9e727fdd3aec8274f46685441900280d' :"Project", '7dce122004969d56ae2e0245cb754d35' :"Edit", - 'bddfeb1f6293e3b072fc01869917f0cc' :"Person?", '4110db87ce3ac86d603d03d691616b1e' :"Drag person to add or remove from group", 'b47a519aebda8fdb4b59bdae6eb2bff0' :"Show No Company", '1243daf593fa297e07ab03bf06d925af' :"Searching...", 'bcc254b55c4a1babdf1dcb82c207506b' :"Phone", '9675747b5ab12d05f18518761e68a533' :"Select Companies", + '40bed7cf9b3d4bb3a3d7a7e3eb18c5eb' :"Person", 'f1174ecbbc232f948717979daf04cf08' :"No Person found", 'ec3249f16ee5880d4c1acb752e5c925f' :"Switch to Selected User", 'a93806efd0cc7a149f0f03e2b9a0f862' :"Bulk Add", @@ -32,6 +32,11 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ 'd4d25ad0a12e8d30e9d8d35230f6d1d3' :"Show Removed", '9810aa2b9f44401be4bf73188ef2b67d' :"Fax" }, + _named_strings : { + 'company_name_emptyText' : '99b344c8ae43e3e7213862b8f35c4e51' /* Select Company */ , + 'company_name_qtip' : '9675747b5ab12d05f18518761e68a533' /* Select Companies */ , + 'company_name_loadingText' : '1243daf593fa297e07ab03bf06d925af' /* Searching... */ + }, part : ["Admin", "Contacts" ], order : '001-Pman.Tab.AdminContacts', @@ -40,7 +45,7 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ name : "Pman.Tab.AdminContacts", disabled : false, permname : 'Core.Person', - _tree : function() + _tree : function(_data) { var _this = this; var MODULE = this; @@ -52,7 +57,7 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ fitToframe : true, region : 'center', tableName : 'Person', - title : _this._strings['bddfeb1f6293e3b072fc01869917f0cc'] /* Person? */, + title : _this._strings['40bed7cf9b3d4bb3a3d7a7e3eb18c5eb'] /* Person */, listeners : { activate : function() { _this.panel = this; @@ -208,7 +213,7 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ proxy : { xtype : 'HttpProxy', method : 'GET', - url : baseURL + '/Roo/Companies.php', + url : baseURL + '/Roo/core_company', xns : Roo.data, '|xns' : 'Roo.data' }, @@ -499,7 +504,7 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ proxy : { xtype : 'HttpProxy', method : 'GET', - url : baseURL + '/Roo/Person.php', + url : baseURL + '/Roo/core_person', xns : Roo.data, '|xns' : 'Roo.data' }, @@ -590,6 +595,7 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ xtype : 'ColumnModel', dataIndex : 'fax', header : _this._strings['9810aa2b9f44401be4bf73188ef2b67d'] /* Fax */, + hidden : true, renderer : function(v) { return String.format('{0}', v); }, width : 100, xns : Roo.grid,