1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-28 16:35:46 +01:00

Fix rangefinder search history issue.

This commit is contained in:
Kris Maglione
2011-03-12 12:18:26 -05:00
parent 71d9a51442
commit 9ba3635bc1
4 changed files with 17 additions and 13 deletions

View File

@@ -346,7 +346,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
echoerr: function echoerr(str, flags) {
flags |= commandline.APPEND_TO_MESSAGES;
if (isinstance(str, ["Error", "Exception"]) || isinstance(str, [XPCWrappedNative_NoHelper]) && /^\[Exception/.test(str))
if (isinstance(str, ["Error", "Exception"]) || isinstance(str, ["XPCWrappedNative_NoHelper"]) && /^\[Exception/.test(str))
dactyl.reportError(str);
if (isObject(str) && "echoerr" in str)
str = str.echoerr;