Re: [SailfishDevel] Javascript Object problem

2015-03-21 Thread Andrey Kozhevnikov
this solution is acceptable for me and works fine, thank you! 21.03.2015 15:38, jklingen пишет: Hi Andrey, this works as expected when prefixing the object key with a character, e.g. temp["id-" + objid.text]= {"case": "test"} My assumption is that at some point the key is implicitely conv

Re: [SailfishDevel] Javascript Object problem

2015-03-21 Thread jklingen
Hi Andrey, this works as expected when prefixing the object key with a character, e.g. temp["id-" + objid.text]= {"case": "test"} My assumption is that at some point the key is implicitely converted to a number, and your object ends up as array, causing strange things when indexes are getti