=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js' --- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2010-02-11 11:44:33 +0000 +++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/script/index.js 2010-02-11 14:57:03 +0000 @@ -201,7 +201,7 @@ checkedCls: 'x-form-radio-checked' }); - document.body.oncontextmenu = function() { return false; } + document.body.oncontextmenu = function() { return false; }; Ext.QuickTips.init(); @@ -543,7 +543,7 @@ listeners: { 'hide': { fn: function() { - alert("closed"); + mapping.relation = false; } } } @@ -1138,14 +1138,14 @@ id: 'wmswindow_sb', items: [ - // { - // xtype: 'button', - // id: 'previewwms_b', - // text: 'Preview', - // handler: function() { + /* { + xtype: 'button', + id: 'previewwms_b', + text: 'Preview', + handler: function() { - // } - // }, + } + },*/ { xtype: 'button', id: 'selectwms_b', @@ -1913,14 +1913,14 @@ id: 'wmsoverlaywindow_sb', items: [ - // { - // xtype: 'button', - // id: 'previewwmsoverlay_b', - // text: 'Preview', - // handler: function() { - - // } - // }, +/* + { + xtype: 'button', + id: 'previewwmsoverlay_b', + text: 'Preview', + handler: function() {} + }, +*/ { xtype: 'button', id: 'selectwmsoverlay_b',