view app/store/Info.js @ 448:bd2b26c249e2

Use 'load', not 'reload' to fill the proben store if its empty.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 05 Dec 2013 11:18:43 +0100
parents 39297b8e5ba2
children debfcc7713e3
line wrap: on
line source
/**
 * Store for Info
 */
Ext.define('Lada.store.Info', {
    extend: 'Ext.data.Store',
    fields: ['user', 'groups', 'version'],
    proxy: {
         type: 'rest',
         url: 'server/rest/info',
         reader: {
             type: 'json',
             root: 'data'
         }
     }
});

http://lada.wald.intevation.org