зеркало из https://github.com/mozilla/pjs.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:
Родитель
d113b3ca33
Коммит
d757b59efb
|
@ -242,7 +242,7 @@ nsPrefWindow.prototype =
|
|||
value = !value;
|
||||
break;
|
||||
case "int":
|
||||
value = parseInt(value);
|
||||
value = parseInt(value, 10);
|
||||
break;
|
||||
case "color":
|
||||
if( toString(value) == "" )
|
||||
|
|
Загрузка…
Ссылка в новой задаче