From: Alan Knowles Date: Tue, 25 Mar 2014 04:33:43 +0000 (+0800) Subject: Pman.Tab.AdminNotify.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=cff8544d9770ac16e2771c3982efec3f4244da5d Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index ac279dc..b87cdf3 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -1,5 +1,5 @@ { - "id": "roo-file-210", + "id": "roo-file-255", "name": "Pman.Tab.AdminNotify", "parent": "Pman.Tab.AdminWatchNotify", "title": "Pman.Tab.AdminNotify", @@ -72,6 +72,9 @@ "|xns": "Roo", "items": [ { + "listeners": { + "select": "function (combo, record, index)\n{\n (function() { _this.grid.footer.onClick('first'); }).defer(100);\n}" + }, "allowBlank": true, "displayField": "person_id_name", "editable": true, diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index a63e9c4..4d6d8aa 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -240,6 +240,12 @@ Pman.Tab.AdminNotify = new Roo.XComponent({ { xtype: 'ComboBox', xns: Roo.form, + listeners : { + select : function (combo, record, index) + { + (function() { _this.grid.footer.onClick('first'); }).defer(100); + } + }, allowBlank : true, displayField : 'person_id_name', editable : true,