bug 964: IE error codes as hex: now really.
authorMichael Tänzer <neo@nhng.de>
Tue, 24 Jul 2012 22:50:42 +0000 (00:50 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 24 Jul 2012 22:50:42 +0000 (00:50 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
www/keygenIE.js

index 7b5aed2..f25e6db 100644 (file)
@@ -43,7 +43,7 @@
        var showError = function (message, exception) {
                window.alert(message +
                                "\n\nError: " + exception.message +
-                               " (0x" + (-exception.number).toString(16) + " / " +
+                               " (0x" + (1 << 32 + exception.number).toString(16) + " / " +
                                exception.number + ")");
        }