← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11590: (PT) Minor bug fixed.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 11590 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-08-06 16:12:22 +0300
message:
  (PT) Minor bug fixed.
modified:
  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/core.js'
--- dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js	2013-08-04 15:11:08 +0000
+++ dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/core.js	2013-08-06 11:37:06 +0000
@@ -1337,7 +1337,8 @@
 						if (uuidDimUuidsMap.hasOwnProperty(key)) {
 							valueElement = Ext.get(key);
 													
-							valueElement.dom.setAttribute('onclick', 'pt.util.pivot.onMouseClick(this.id);');
+							valueElement.dom.pt = pt;
+							valueElement.dom.setAttribute('onclick', 'this.pt.util.pivot.onMouseClick(this.id);');
 						}
 					}
 				};						
@@ -2086,7 +2087,6 @@
 								pt.viewport.centerRegion.setHeight(el.getHeight());
 								baseEl.setWidth(el.getWidth() + baseElBorderW + baseElPaddingW);
 								baseEl.setHeight(el.getHeight() + baseElBorderH + baseElPaddingH);
-								//Ext.get(pt.el).dom.innerHTML = html;
 							}
 							
 							// Hide mask
@@ -2102,7 +2102,7 @@
 							pt.uuidObjectMap = uuidObjectMap;
 							
 							// Add value event handlers, set session storage
-							if (PT.isSessionStorage) {
+							if (!pt.isPlugin && PT.isSessionStorage) {
 								setMouseHandlers();
 								pt.util.pivot.setSessionStorage(layout, 'table');
 							}