开发者

Dashcode Lists in Firefox

开发者 https://www.devze.com 2023-01-05 05:40 出处:网络
I have a list in dashcode where I update a parameter for the datasource and tell the list to reload. The code is fully functional when view from Safari but the reload开发者_开发技巧 command does not a

I have a list in dashcode where I update a parameter for the datasource and tell the list to reload. The code is fully functional when view from Safari but the reload开发者_开发技巧 command does not appear to work when the same page is viewed in Firefox. The code I am using to update my data source is:

dataSource.setValueForKeyPath("keyboard/build/", "parameters.directory");
var list= document.getElementById('list');                      
list.object.reloadData();

Is there a different command I need to send for firefox to reload the list?


If I remember correctly, Dashboad widgets use special, nonstandard Javascript APIs that aren't availible in most Javascript environments. Does Firefox present any errors in its Javascript console (get firebug if you don't have it already). Try testing the same issue in Chrome to see if this is a Webkit vs Gecko issue or a Apple vs Everyone Else issue.


It appears that firefox does not work well with globally declared variables, I got rid of the variables in my script and the page loaded no problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消