Pman.Tab.AdminTypesImage.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 10 Nov 2010 08:24:34 +0000 (16:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 10 Nov 2010 08:24:34 +0000 (16:24 +0800)
Pman.Tab.AdminTypesImage.js

index 2580736..369b6b0 100644 (file)
@@ -62,7 +62,11 @@ Pman.Tab.AdminTypesImage = new Roo.util.Observable({
                     rowdblclick : function (_self, rowIndex, e)
                     {
                         if (!_this.dialog) return;
-                        _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
+                        _this.dialog.show({
+                             id : this.getDataSource().getAt(rowIndex).data.id , 
+                            _table : _this.panel.tableName , 
+                            _title : "Edit Image Type" 
+                        }, function() {
                             _this.grid.footer.onClick('first');
                         }); 
                     }