From: Alan Knowles Date: Wed, 16 May 2012 09:10:23 +0000 (+0800) Subject: Pman.Dialog.CoreNotifyRecur.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=5d309ed0dc039bcfb4556c0fd270b0fcdd2b4f1e Pman.Dialog.CoreNotifyRecur.bjs Pman.Dialog.CoreNotifyRecur.js --- diff --git a/Pman.Dialog.CoreNotifyRecur.bjs b/Pman.Dialog.CoreNotifyRecur.bjs index 61c5607b..9498514a 100644 --- a/Pman.Dialog.CoreNotifyRecur.bjs +++ b/Pman.Dialog.CoreNotifyRecur.bjs @@ -359,14 +359,14 @@ "|xns": "Roo.form", "items": [ { - "*prop": "store", - "xtype": "Store", - "|xns": "Roo.data", - "remoteSort": true, - "|sortInfo": "{ direction : 'ASC', field: 'id' }", "listeners": { "|beforeload": "function (_self, o){\n o.params = o.params || {};\n // set more here\n}\n" }, + "*prop": "store", + "remoteSort": true, + "xtype": "Store", + "|sortInfo": "{ direction : 'ASC', field: 'tz' }", + "|xns": "Roo.data", "items": [ { "*prop": "proxy", diff --git a/Pman.Dialog.CoreNotifyRecur.js b/Pman.Dialog.CoreNotifyRecur.js index 96c37d98..fb73aba1 100644 --- a/Pman.Dialog.CoreNotifyRecur.js +++ b/Pman.Dialog.CoreNotifyRecur.js @@ -450,14 +450,14 @@ 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 } }, + remoteSort : true, + sortInfo : { direction : 'ASC', field: 'tz' }, proxy : { xtype: 'HttpProxy', xns: Roo.data,