MOVED Pman.Dialog.PersonEdit_1.js to Pman.Dialog.PersonSimpleContact.js
authorChris <chris@roojs.com>
Fri, 29 Jun 2012 06:42:24 +0000 (14:42 +0800)
committerChris <chris@roojs.com>
Fri, 29 Jun 2012 06:42:24 +0000 (14:42 +0800)
Pman.Dialog.PersonSimpleContact.js [new file with mode: 0644]

diff --git a/Pman.Dialog.PersonSimpleContact.js b/Pman.Dialog.PersonSimpleContact.js
new file mode 100644 (file)
index 0000000..a130cbf
--- /dev/null
@@ -0,0 +1,30 @@
+//<script type="text/javascript">
+// for needed for new person in External contacts...
+
+
+
+// needs adding to init!!!!
+Pman.on('beforeload', function() {
+    
+    // edit - company readonly /office  - selectable..
+    // CONTACTS!!!!!
+    Pman.Dialog.PersonEdit = new Pman.Dialog.PersonEditor({
+        type : 'edit',
+        dialogConfig : {
+            title: "Edit Contact Details",
+            height: 350 // slightly taller..
+            
+        },
+        itemList : [
+            'company_id_name',
+            'office_id_name',
+            'name','role', 'phone', 'fax', 'email',
+       
+            'passwd1', 'passwd2',
+            'id', 
+            //'company_id', 
+            'company_id_email',
+            'company_id_address','company_id_tel','company_id_fax'
+        ]
+    });
+});
\ No newline at end of file