rem: DWREngine.setPreHook(DWRUtil._showLoadingMessage); DWREngine.setPostHook(DWRUtil._hideLoadingMessage); }; 
add: DWREngine.setPreHook(function() { var disabledZone = $('disabledZone'); if (!disabledZone) { disabledZone = document.createElement('div'); disabledZone.setAttribute('id', 'disabledZone'); disabledZone.style.position = "absolute"; disabledZone.style.zIndex = "1000"; disabledZone.style.left = "0px"; disabledZone.style.top = "0px"; disabledZone.style.width = "100%"; disabledZone.style.height = "100%"; document.body.appendChild(disabledZone); var messageZone = document.createElement('div'); messageZone.setAttribute('id', 'messageZone'); messageZone.style.position = "absolute"; messageZone.style.top = "0px"; messageZone.style.right = "0px"; messageZone.style.background = "red"; messageZone.style.color = "white"; messageZone.style.fontFamily = "Arial,Helvetica,sans-serif"; messageZone.style.padding = "4px"; disabledZone.appendChild(messageZone); var text = document.createTextNode(loadingMessage); messageZone.appendChild(text); } else { $('messageZone').innerHTML = loadingMessage; disabledZone.style.visibility = 'visible'; } });  DWREngine.setPostHook(function() { $('disabledZone').style.visibility = 'hidden'; }); } 
context: DWRUtil.useLoadingMessage = function(message) {  if (message) DWRUtil._loadingMessage = message;  else DWRUtil._loadingMessage = "Loading";  DWREngine.setPreHook(DWRUtil._showLoadingMessage);  DWREngine.setPostHook(DWRUtil._hideLoadingMessage);};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/8b78332bbcb93a5dfbe137f4118d0100c703e4dd/util.js/buggy/java/uk/ltd/getahead/dwr/util.js