Fix up two JS errors which get the composer working again
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user