Bug 425588 "Go to line" should always parse line number as decimal r=mconnor, sr=roc

This commit is contained in:
Masahiro Yamada 2009-06-18 14:23:04 +09:00
parent e2cf1ad1fa
commit 9f2119ab96

View File

@ -402,7 +402,7 @@ function ViewSourceGoToLine()
if (!ok) return;
var line = parseInt(input.value);
var line = parseInt(input.value, 10);
if (!(line > 0)) {
promptService.alert(window,