Index: branches/unlabeled/unlabeled-1.9.18/core/kernel/utility/debugger/debugger.js =================================================================== diff -u -r7577 -r7585 --- branches/unlabeled/unlabeled-1.9.18/core/kernel/utility/debugger/debugger.js (.../debugger.js) (revision 7577) +++ branches/unlabeled/unlabeled-1.9.18/core/kernel/utility/debugger/debugger.js (.../debugger.js) (revision 7585) @@ -84,25 +84,37 @@ this.DebuggerToolbar.style.filter = "alpha(opacity=" + opacity + ")"; } +Debugger.prototype.ToolbarClick = function ($button) { + switch ($button.id) { + case 'dbg_ReloadFrame': + self.location.reload(); + break; + + case 'dbg_ShowDebugger': + this.Toggle(); + break; + } +} + Debugger.prototype.AddToolbar = function($var_name) { var $span = document.createElement('SPAN'); $span.style.position = 'absolute'; - var $toolbar_content = ''; + var $toolbar_content = '
' + $toolbar_content + ' |