# HG changeset patch # User Torsten Irländer # Date 1367940011 -7200 # Node ID 72778ac34dbbee0147aa8d8fa015b4200d3212a9 # Parent dca4813dd502a2f744de1c06d2831793cf83a6f8 Do not autoload the data from the server. Only load an request. diff -r dca4813dd502 -r 72778ac34dbb app.js --- a/app.js Tue May 07 17:19:28 2013 +0200 +++ b/app.js Tue May 07 17:20:11 2013 +0200 @@ -17,7 +17,6 @@ xtype: 'panel', id: 'searchSelection', border: false, - padding: '10 10 10 10', items: [ // 1. SQL-Selection // 1.1 Just a small texttual field @@ -37,7 +36,6 @@ id: 'searchVariables', hidden: true, border: false, - padding: '10 10 10 10', items: [ // 2. Variable-Definition. Depending on the SQL-Selection we // need to show a small form to be able to diefine some values @@ -56,7 +54,6 @@ xtype: 'probenlist', id: 'searchResult', hidden: true, - padding: '10 10 10 10' } ] }); diff -r dca4813dd502 -r 72778ac34dbb app/store/Proben.js --- a/app/store/Proben.js Tue May 07 17:19:28 2013 +0200 +++ b/app/store/Proben.js Tue May 07 17:20:11 2013 +0200 @@ -1,13 +1,10 @@ Ext.define('Lada.store.Proben', { extend: 'Ext.data.Store', model: 'Lada.model.Probe', - autoLoad: true, proxy: { type: 'ajax', api: { - read: 'server/rest/proben', - //read: 'data/proben.json', - update: 'data/proben2.json' + read: 'server/rest/proben' }, reader: { type: 'json', @@ -15,4 +12,3 @@ } } }); -