dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #25651
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12774: (PT) Download button bug fixed.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 12774 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-10-18 11:03:31 +0200
message:
(PT) Download button bug fixed.
modified:
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js
dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.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-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-10-16 17:37:28 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js 2013-10-18 09:02:28 +0000
@@ -4485,6 +4485,9 @@
}
// Set gui
+ if (!updateGui) {
+ return;
+ }
// Indicators
pt.store.indicatorSelected.removeAll();
=== modified file 'dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js 2013-10-17 09:20:36 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js 2013-10-18 09:02:28 +0000
@@ -2463,9 +2463,7 @@
engine.setSessionStorage('table', layout);
}
- if (updateGui) {
- pt.viewport.setGui(layout, xLayout, updateGui, isFavorite);
- }
+ pt.viewport.setGui(layout, xLayout, updateGui, isFavorite);
}
// Hide mask