If you switch the order do they work? Not that it is mandatory but adding a semicolon at the end looks better :). You could also make them listen to a common topic an publish that one to make them refresh, in any case it should work they way you have it.
musachy On 6/12/07, Scott Nesbitt <[EMAIL PROTECTED]> wrote:
I have some code like this that is not working: dojo.event.topic.subscribe("/refreshTopic", function(data, type, e) { if ('load' == type) { dojo.event.topic.publish("/refreshCableHeadends") dojo.event.topic.publish("/refreshTDGrid") return; } } Only the first div (from refreshCableHeadends) is being refreshed, other one is being ignored. Any ideas or suggestions? I tried chaining them together, that did not work either. Thanks, Scott ____________________________________________________________________________________ Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. http://mobile.yahoo.com/go?refer=1GNXIC --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- "Hey you! Would you help me to carry the stone?" Pink Floyd