=== 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-03-21 17:53:58 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-03-25 12:50:28 +0000 @@ -2133,13 +2133,13 @@ { iconCls: 'gis-grid-row-icon-dashboard', getClass: function(value, metaData, record) { - return 'tooltip-favorite-dashboard' + (!record.data.access.update ? ' disabled' : ''); + 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.update) { + if (record.data.access.read) { message = 'Add to dashboard?\n\n' + record.data.name; if (confirm(message)) {