bug 964: hopefully properly encode error codes in hex now
authorMichael Tänzer <neo@nhng.de>
Tue, 24 Jul 2012 22:34:57 +0000 (00:34 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 24 Jul 2012 22:34:57 +0000 (00:34 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
www/keygenIE.js

index 5dc0f13..51da0ef 100644 (file)
@@ -43,7 +43,7 @@
        var showError = function (message, exception) {
                window.alert(message +
                                "\n\nError: " + exception.message +
-                               " (" + exception.number.toString(16) + " / " +
+                               " (0x" + (-exception.number).toString(16) + " / " +
                                exception.number + ")");
        }