diff options
author | pjenvey <devnull@localhost> | 2007-01-17 04:55:45 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2007-01-17 04:55:45 +0000 |
commit | 357cd14ae443cb61f53229d8851a725c54972f9b (patch) | |
tree | 3dc1ff227f33dc0fb32631b672bd47010eb5ea38 /paste/evalexception | |
parent | 3e6dab79a2a8a158c97f1f067873bc7abe775188 (diff) | |
download | paste-357cd14ae443cb61f53229d8851a725c54972f9b.tar.gz |
revert r6094: evalexception is tied to MochiKit 1.3.1,
which these changes are incompatible with
Diffstat (limited to 'paste/evalexception')
-rw-r--r-- | paste/evalexception/media/debug.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/paste/evalexception/media/debug.js b/paste/evalexception/media/debug.js index 64d70cb..57f9df3 100644 --- a/paste/evalexception/media/debug.js +++ b/paste/evalexception/media/debug.js @@ -2,14 +2,14 @@ function showFrame(anchor) { var tbid = anchor.getAttribute('tbid'); var expanded = anchor.expanded; if (expanded) { - MochiKit.Style.hideElement(anchor.expandedElement); + MochiKit.DOM.hideElement(anchor.expandedElement); anchor.expanded = false; _swapImage(anchor); return false; } anchor.expanded = true; if (anchor.expandedElement) { - MochiKit.showElement(anchor.expandedElement); + MochiKit.DOM.showElement(anchor.expandedElement); _swapImage(anchor); $('debug_input_'+tbid).focus(); return false; @@ -57,7 +57,7 @@ function submitInput(button, tbid) { debugcount: debug_count, input: input.value }; - MochiKit.Style.showElement(output); + MochiKit.DOM.showElement(output); var d = MochiKit.Async.doSimpleXMLHttpRequest(url, vars); d.addCallbacks(function (data) { var result = data.responseText; @@ -77,13 +77,13 @@ function showError(msg) { } else { el.innerHTML = msg; } - MochiKit.Style.showElement('error-area'); + MochiKit.DOM.showElement('error-area'); } function clearError() { var el = $('error-container'); el.innerHTML = ''; - MochiKit.Style.hideElement('error-area'); + MochiKit.DOM.hideElement('error-area'); } function expandInput(button) { @@ -155,7 +155,7 @@ function expandLong(anchor) { if (! span) { return false; } - MochiKit.Style.showElement(span); - MochiKit.Style.hideElement(anchor); + MochiKit.DOM.showElement(span); + MochiKit.DOM.hideElement(anchor); return false; } |