diff --git a/src/www/js/Dragonfly.js b/src/www/js/Dragonfly.js index 89696f1..edc9835 100644 --- a/src/www/js/Dragonfly.js +++ b/src/www/js/Dragonfly.js @@ -974,9 +974,10 @@ Dragonfly.start = function () // Don't use showElement - not nice to non-divs $('admin-link').style.display = 'inline'; } - - $('makeDumpLink-a').href = 'javascript:void(console.sendLog("user/' + d.userName + '/sendlog/all", true));'; - + + if ($('makeDumpLink-a')) { + $('makeDumpLink-a').href = 'javascript:void(console.sendLog("user/' + d.userName + '/sendlog/all", true));'; + } removeElementClass (document.body, 'login'); d._handleResize(); diff --git a/src/www/js/lib/MochiKit/Async.js b/src/www/js/lib/MochiKit/Async.js index 4a57088..d06631c 100644 --- a/src/www/js/lib/MochiKit/Async.js +++ b/src/www/js/lib/MochiKit/Async.js @@ -220,7 +220,7 @@ MochiKit.Async.Deferred.prototype = { if (!(err instanceof Error)) { err = new MochiKit.Async.GenericError(err); } - logError ('Error firing Deferred: ', err.message); + console.error ('Error firing Deferred: ', err.message); res = err; } }