-
Notifications
You must be signed in to change notification settings - Fork 882
jq.ui.js bug in line 455 #49
Comments
Thanks...I know it was like that originally, but one of the other core devs made the change. I'll try to figure out why. Cam you also give us a test case (show the html you are using). |
Hi, Ian Here was what I did, I downloaded the appMobi-jQ.Mobi-89bdc57.zip and create a project from it in Chrome appMobi XDK. Then I experimented with loading pages from separated html files instead of in-page panels. I created a jqmui.html with following code:
then I changed index.html line 113 to
to point to it. When I clicked jaUi tab, line 457 in jq.ui.js will yield a js error because $am(urlHash) is undefined. Please let me know if anything I can help. Jeff |
thanks, Ian. I notice http://www.jqmobi.com/testdrive/index.html is already using the new 0.9.3 codebase. expecting the download ... |
Hi,
There is a bug in jq.ui.js line 455: if ($am(urlHash) !== null) { , I think it should be if ($am(urlHash) ) { because when I try to load a separate file from json, line 457 causes a js error because $am(urlHash) yields undefined and $am(urlHash) !== null is true, but that block shouldn't be executed.
Jeff
The text was updated successfully, but these errors were encountered: