dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27948
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13936: Minor bug fixed.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 13936 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-02-05 10:45:54 +0100
message:
Minor bug fixed.
modified:
dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2014-02-04 14:52:03 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2014-02-05 09:44:48 +0000
@@ -1810,7 +1810,7 @@
periodTypeStore,
fixedPeriodAvailableStore,
fixedPeriodSelectedStore,
- reportTableStore,
+ chartStore,
organisationUnitLevelStore,
organisationUnitGroupStore,
@@ -2540,19 +2540,19 @@
});
ns.app.stores.fixedPeriodSelected = fixedPeriodSelectedStore;
- reportTableStore = Ext.create('Ext.data.Store', {
+ chartStore = Ext.create('Ext.data.Store', {
fields: ['id', 'name', 'lastUpdated', 'access'],
proxy: {
type: 'ajax',
reader: {
type: 'json',
- root: 'reportTables'
+ root: 'charts'
}
},
isLoaded: false,
pageSize: 10,
page: 1,
- defaultUrl: ns.core.init.contextPath + '/api/reportTables.json?viewClass=sharing&links=false',
+ defaultUrl: ns.core.init.contextPath + '/api/charts.json?viewClass=sharing&links=false',
loadStore: function(url) {
this.proxy.url = url || this.defaultUrl;
@@ -2581,7 +2581,7 @@
}
}
});
- ns.app.stores.reportTable = reportTableStore;
+ ns.app.stores.chart = chartStore;
organisationUnitLevelStore = Ext.create('Ext.data.Store', {
fields: ['id', 'name', 'level'],