=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2015-01-16 14:45:15 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js 2015-01-20 11:35:02 +0000
@@ -33,7 +33,7 @@
dhis2.db.widthNormal = 408;
dhis2.db.widthDouble = 849;
-dhis2.db.itemContentHeight = 304;
+dhis2.db.itemContentHeight = 308;
dhis2.db.itemScrollbarWidth = /\bchrome\b/.test(navigator.userAgent.toLowerCase()) ? 8 : 17;
// TODO support table as link and embedded
@@ -114,7 +114,7 @@
"${i18n_explore}" +
"${i18n_resize}" +
"" +
- "
" +
+ "" +
"",
reportTableItem: "" +
@@ -608,7 +608,7 @@
}
else if ( "map" == dashboardItem.type )
{
- $d.append( $.tmpl( dhis2.db.tmpl.mapItem, { "itemId": dashboardItem.id, "id": dashboardItem.map.id, "name": dashboardItem.map.name, "style": style,
+ $d.append( $.tmpl( dhis2.db.tmpl.mapItem, { "itemId": dashboardItem.id, "id": dashboardItem.map.id, "name": dashboardItem.map.name, "style": style, "height": dhis2.db.itemContentHeight,
"i18n_remove": i18n_remove, "i18n_get_as_image": i18n_get_as_image, "i18n_share": i18n_share_interpretation, "i18n_click_and_drag_to_new_position": i18n_click_and_drag_to_new_position } ) );
DHIS.getMap({
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css 2015-01-20 11:17:56 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css 2015-01-20 11:35:02 +0000
@@ -96,7 +96,7 @@
{
background-color: #fff;
border: 1px solid #ccc;
- height: 329px;
+ height: 333px;
width: 408px;
padding: 6px;
margin: 0 19px 19px 0;
@@ -137,7 +137,7 @@
.dropItem
{
width: 408px;
- height: 329px;
+ height: 333px;
padding: 6px;
margin: 0 19px 19px 0;
border: 1px dashed #9ec5df;