Index: trunk/core/kernel/utility/debugger/debugger.js =================================================================== diff -u -r5063 -r5547 --- trunk/core/kernel/utility/debugger/debugger.js (.../debugger.js) (revision 5063) +++ trunk/core/kernel/utility/debugger/debugger.js (.../debugger.js) (revision 5547) @@ -127,17 +127,16 @@ Debugger.prototype.Toggle = function($KeyCode) { if(!this.DebuggerDIV) return false; - this.IsVisible = this.DebuggerDIV.style.display == 'none' ? false : true; if (!this.IsVisible && $KeyCode == 27) { return false; } this.Resize(null); if (!this.IsQueried) { - this.Query(); + this.Query(); } - + this.DebuggerDIV.style.display = this.IsVisible ? 'none' : 'block'; } @@ -178,7 +177,7 @@ Debugger.prototype.Resize = function($e) { if (!this.DebuggerDIV) return false; var $pageTop = document.all ? document.body.offsetTop + document.body.scrollTop : window.scrollY; - + this.DebuggerDIV.style.top = $pageTop + 'px'; this.DebuggerDIV.style.height = GetWindowHeight() + 'px'; return true; @@ -258,7 +257,7 @@ alert('Editor path not defined!'); return; } - + var $launch_object = new ActiveXObject('LaunchinIE.Launch'); var $editor_path = this.EditorPath; $editor_path = $editor_path.replace('%F', $fileName); @@ -270,5 +269,4 @@ var $arguments_layer = document.getElementById($arguments_layer_id); $arguments_layer.style.display = ($arguments_layer.style.display == 'none') ? 'block' : 'none'; } - - \ No newline at end of file +