=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-12-22 23:27:34 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-12-23 08:33:30 +0000 @@ -2706,7 +2706,7 @@ { dataIndex: 'name', sortable: false, - width: windowCmpWidth - 108, + width: windowCmpWidth - 88, renderer: function(value, metaData, record) { var fn = function() { var element = Ext.get(record.data.id); @@ -2731,7 +2731,7 @@ { xtype: 'actioncolumn', sortable: false, - width: 100, + width: 80, items: [ { iconCls: 'gis-grid-row-icon-edit', @@ -2836,29 +2836,6 @@ } }, { - iconCls: 'gis-grid-row-icon-dashboard', - getClass: function(value, metaData, record) { - return 'tooltip-favorite-dashboard' + (!record.data.access.read ? ' disabled' : ''); - }, - handler: function(grid, rowIndex) { - var record = this.up('grid').store.getAt(rowIndex), - message; - - if (record.data.access.read) { - message = 'Add to dashboard?\n\n' + record.data.name; - - if (confirm(message)) { - Ext.Ajax.request({ - url: gis.init.contextPath + gis.conf.finals.url.path_module + 'addMapViewToDashboard.action', - params: { - id: record.data.id - } - }); - } - } - } - }, - { iconCls: 'gis-grid-row-icon-delete', getClass: function(value, metaData, record) { return 'tooltip-favorite-delete' + (!record.data.access['delete'] ? ' disabled' : '');