mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 08:05:46 +01:00
Fix some more bootstrapping update bugs.
This commit is contained in:
@@ -1575,9 +1575,10 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
|
||||
function listener(action, event)
|
||||
function addonListener(install) {
|
||||
dactyl[install.error ? "echoerr" : "echomsg"](
|
||||
"Add-on " + action + " " + event + ": " + (install.name || install.sourceURI.spec) +
|
||||
(install.error ? ": " + addonErrors[install.error] : ""));
|
||||
if (typeof dactyl !== "undefined")
|
||||
dactyl[install.error ? "echoerr" : "echomsg"](
|
||||
"Add-on " + action + " " + event + ": " + (install.name || install.sourceURI.spec) +
|
||||
(install.error ? ": " + addonErrors[install.error] : ""));
|
||||
}
|
||||
const addonListener = {
|
||||
onNewInstall: function (install) {},
|
||||
|
||||
Reference in New Issue
Block a user