torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@337: /** torsten@337: * Store for Info torsten@337: */ torsten@259: Ext.define('Lada.store.Info', { torsten@259: extend: 'Ext.data.Store', raimund@491: raimund@491: fields: [ raimund@491: 'user', raimund@491: 'groups', raimund@491: 'version' raimund@491: ], raimund@491: torsten@259: proxy: { torsten@259: type: 'rest', torsten@259: url: 'server/rest/info', torsten@259: reader: { torsten@259: type: 'json', torsten@259: root: 'data' torsten@259: } torsten@259: } torsten@259: }); torsten@259: