DataObjects/Core_watch.php
[Pman.Core] / Pman.Dialog.Companies.js
index 962e893..960e286 100644 (file)
@@ -1,4 +1,18 @@
+
+
+Pman.Dialog.Companies =   new Roo.util.Observable({
+    
+    show : function (data, callback)
+    {
+        Pman.Dialog.CoreCompanies.show({id:data.id});
+    }
+
+});
+
+
+
 //<script type="text/javascript">
+/*
 
 
 Pman.Dialog.Companies =   new Roo.util.Observable({
@@ -424,7 +438,7 @@ Pman.Dialog.Companies =   new Roo.util.Observable({
                         Pman.Dialog.Image.show({
                             onid :_this.data.id,
                             ontable : 'Companies',
-                            imgtype : '-LOGO'
+                            imgtype : 'LOGO'
                         }, function(data) {
                             if  (data) {
                                 _t.setValue(data.id);
@@ -481,3 +495,4 @@ Pman.Dialog.Companies =   new Roo.util.Observable({
     }
          
 });
+*/
\ No newline at end of file