[BUG Ext1.b2] Can't correctly parse "name" in Tree
[
{ "cls" : "folder", "icon" : "/im/menu/user_gray.png", "text" : 'a2', "id" : "user", "leaf" : false },
{ "cls" : "folder", "icon" : "/im/menu/user_gray.png", "text" : 2, "id" : "user", "leaf" : false }
]
I have js error:
Ошибка: n1[p].toUpperCase is not a function
Источник: http://lite-himki-1.0.0/js/ext/ext-all.js
Строка: 145
But with:
[
{ "cls" : "folder", "icon" : "/im/menu/user_gray.png", "text" : 'a2', "id" : "user", "leaf" : false },
{ "cls" : "folder", "icon" : "/im/menu/user_gray.png", "text" : 'b2', "id" : "user", "leaf" : false }
]
This look like Ext cant parse name if it have only digit. But may be my linux+perl+utf8 is culprit?
May be deserve to add workaround to toUpperCase() function?
P.S. Sorry, this is not perl-JSON problem) i'm manualy send 2 as integer from perl ccript by print directive, but problem is stil open. Who know. what's error in JSON realisation may be...
try "text" : '2' instead of "text" : 2 to pass it as a string.
Use ext-all-debug.js to find the line where the error is, and post the surrounding code here so we can see what's trying to be uppercased.
#If you have any other info about this subject , Please add it free.# |

