зеркало из https://github.com/mozilla/gecko-dev.git
checking in right patch for bug 63117 - numbers in prefs accepted in octal when they start with 0, in hex when they start with 0x
r=neil sr=alecf, patch by eddyk@netscape.com/durbacher@gmx.de
This commit is contained in:
Родитель
b7505d6cbf
Коммит
7da2cedce8
|
@ -242,7 +242,7 @@ nsPrefWindow.prototype =
|
|||
value = !value;
|
||||
break;
|
||||
case "int":
|
||||
value = parseInt(value);
|
||||
value = parseInt(value, 10);
|
||||
break;
|
||||
case "color":
|
||||
if( toString(value) == "" )
|
||||
|
|
Загрузка…
Ссылка в новой задаче