initial upload of new Javascript Frontend based on ExtJS (by Johannes)
- contains ExtJS Library 4.1.1a, together with css and images - is related to the module 93_DbLog.pm, which holds some functions used by the frontend git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2767 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
18
www/frontend/app/store/ReadingsStore.js
Normal file
18
www/frontend/app/store/ReadingsStore.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Store for the Readings
|
||||
*/
|
||||
Ext.define('FHEM.store.ReadingsStore', {
|
||||
extend: 'Ext.data.Store',
|
||||
model: 'FHEM.model.ReadingsModel',
|
||||
proxy: {
|
||||
type: 'ajax',
|
||||
method: 'POST',
|
||||
url: '', //gets set by controller after device has been selected
|
||||
reader: {
|
||||
type: 'json',
|
||||
root: 'data',
|
||||
totalProperty: 'totalCount'
|
||||
}
|
||||
},
|
||||
autoLoad: false
|
||||
});
|
||||
Reference in New Issue
Block a user