=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js 2013-10-01 16:18:07 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/plugin.js 2013-10-02 08:00:55 +0000 @@ -63,6 +63,10 @@ alert('Invalid url (' + config.el + ')'); return; } + + if (config.url.split('').pop() === '/') { + config.url = config.url.substr(0, config.url.length - 1); + } if (!Ext.isString(config.el)) { alert('Invalid html element id (' + config.el + ')');