=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2015-01-27 12:39:32 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/app.js 2015-02-05 15:57:08 +0000
@@ -8603,7 +8603,7 @@
});
window = Ext.create('Ext.window.Window', {
- title: 'Embed in web page' + ' | ' + gis.map.name + '',
+ title: 'Embed in web page' + (gis.map && gis.map.name ? ' | ' + gis.map.name + '' : ''),
layout: 'fit',
modal: true,
resizable: false,
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js 2015-01-23 16:01:30 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-mapping/scripts/core.js 2015-02-05 15:57:08 +0000
@@ -368,9 +368,9 @@
}
}
else {
- html = 'No data found for
Indicators in group: ' + iig.name + '' +
- '
Data elements in group: ' + ideg.name + '' +
- '
Period: ' + period.name + '' +
+ html = 'No data found for
Indicators in group: ' + iig.name +
+ '
Data elements in group: ' + ideg.name +
+ '
Period: ' + period.name +
'
To change groups, please go to general settings.';
}