From 6689354a86bf53c8550ea60d94ad6853d954f60b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 14 Nov 2012 14:06:02 +0800 Subject: [PATCH] Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- Pman.Dialog.CoreNotifyRecur.bjs | 10 +++++----- Pman.Dialog.CoreNotifyRecur.js | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index 71501eb2..e0de878f 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -148,14 +148,14 @@ "|xns": "Roo.form", "items": [ { + "listeners": { + "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n o.params.etype = 'core_notify_recur';\n}\n" + }, "*prop": "store", - "xtype": "Store", - "|xns": "Roo.data", "remoteSort": true, + "xtype": "Store", "|sortInfo": "{ direction : 'ASC', field: 'id' }", - "listeners": { - "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n" - }, + "|xns": "Roo.data", "items": [ { "*prop": "proxy", diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 1fb15d41..cf31e925 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -315,14 +315,15 @@ Pman.Dialog.CoreNotifyRecur = { store : { xtype: 'Store', xns: Roo.data, - remoteSort : true, - sortInfo : { direction : 'ASC', field: 'id' }, listeners : { beforeload : function (_self, o){ o.params = o.params || {}; // set more here + o.params.etype = 'core_notify_recur'; } }, + remoteSort : true, + sortInfo : { direction : 'ASC', field: 'id' }, proxy : { xtype: 'HttpProxy', xns: Roo.data, -- 2.39.2