more quote identeiifers fixessss
[Pman.Core] / Pman.Dialog.Person.js
1 //<script type="text/javascript">
2 // for needed for new person in External contacts...
3
4
5
6 // needs adding to init!!!!
7 Pman.on('beforeload', function() {
8   
9    
10     // new - office / company readonly
11     Pman.Dialog.Person  = new Pman.Dialog.PersonEditor({
12         type : 'edit2',
13         dialogConfig : {
14             title: "Edit Contact Details", 
15             height: 400 // slightly taller..
16
17         },
18         itemList : [
19             
20             'company_id_name_ro',
21             'office_id_name_ro',
22             'name','role', 'phone', 'fax', 'email',
23             'id',  'office_id', 'company_id',
24             
25             // not really needed??
26             'company_id_email','company_id_address','company_id_tel','company_id_fax'
27         ]
28     });
29 });