dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11323
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3205: Minor fix.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 3205 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-03-29 13:30:23 +0200
message:
Minor fix.
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.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-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js 2011-03-29 11:18:51 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js 2011-03-29 11:26:20 +0000
@@ -2425,7 +2425,7 @@
var mapView = scope.formValues.getAllValues.call(scope);
mapView.widget = scope;
- mapView.timestamp = G.date.getNowHMS(new Date());
+ mapView.timestamp = G.date.getNowHMS();
var c1 = '<span class="menu-item-inline-c1">';
var c2 = '<span class="menu-item-inline-c2">';
var spanEnd = '</span>';
@@ -2438,7 +2438,7 @@
spanEnd;
for (var i = 0; i < this.menu.items.items.length; i++) {
- if (G.util.compareObjToObj(mapView, this.menu.items.items[i].mapView, ['longitude','latitude','zoom','widget','timestamp','time','label'])) {
+ if (G.util.compareObjToObj(mapView, this.menu.items.items[i].mapView, ['longitude','latitude','zoom','widget','timestamp','label'])) {
this.menu.items.items[i].destroy();
}
}