Pman.Dialog.CoreAutoSavePreview.js
"|xns": "Roo.grid"
},
{
+ "listeners": {
+ "beforeload": "function (_self, o)\n{\n o.params = o.params || {};\n \n if(typeof(_this.data) == 'undefined'){\n this.removeAll();\n return false;\n }\n \n o.params.action = 'AUTOSAVE';\n}"
+ },
"*prop": "dataSource",
- "xtype": "Store",
"remoteSort": true,
+ "xtype": "Store",
"|sortInfo": "{ field : 'filename', direction: 'ASC' }",
"|xns": "Roo.data",
"items": [
dataSource : {
xtype: 'Store',
xns: Roo.data,
+ listeners : {
+ beforeload : function (_self, o)
+ {
+ o.params = o.params || {};
+
+ if(typeof(_this.data) == 'undefined'){
+ this.removeAll();
+ return false;
+ }
+
+ o.params.action = 'AUTOSAVE';
+ }
+ },
remoteSort : true,
sortInfo : { field : 'filename', direction: 'ASC' },
proxy : {