I commented the Dialog call from my onSuccess, and added an alert
instead. But the problem is: because I have no AJAX call, it never
gets into the onSuccess stage. I have the loading alert from onLoading
and the exception, nothing else
I use the same code on a different page, but where I have no YUI,
scripts and is working fine there.
Marius
On Jan 24, 11:18 am, "Richard Quadling" <[EMAIL PROTECTED]>
wrote:
> Can you try this ...
>
> function ShowLogs(params) {
> Dialog.info('Testing', {className: "alphacube", width: 275,
> closable: true, okLabel:" Cancel ", title: "Change Application
> Status"});
>
> }
>
> It may be that Dialog isn't known and this causes an exception inside
> the Ajax execution which can be trapped by onException().
>
> And if Dialog IS known, it might be generating an error further down the line.
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---