view app/store/Info.js @ 428:651ee49ff3c2

Added listener to load the recored of the set Verwaltungseinheit.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:36:29 +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