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.
On 24/01/2008, Marius <[EMAIL PROTECTED]> wrote:
>
> Changed it to lowercase get but still no request in console :(, and
> the same output for exception
>
>
>
> On Jan 24, 10:44 am, "Richard Quadling" <[EMAIL PROTECTED]>
> wrote:
> > Try lowercase on the method.
> >
> > On 24/01/2008, Marius <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > This is what I got:
> >
> > > [Object options=Object transport=XMLHttpRequest, [Exception...
> > > "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
> > > [nsIXMLHttpRequest.setRequestHeader]" nsresult: "0x80070057
> > > (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame
> > > ::http://localhost/js/prototype.js
> > > :: anonymous :: line 1289" data: no]]
> >
> > > Marius
> >
> > > On Jan 24, 10:00 am, "Richard Quadling" <[EMAIL PROTECTED]>
> > > wrote:
> > > > Sorry, typo.
> >
> > > > onException: function(){console.info(arguments);}
> >
> > > > On 24/01/2008, Richard Quadling <[EMAIL PROTECTED]> wrote:
> >
> > > > > Can you add to the callbacks ...
> >
> > > > > onExeption: function(){console.info(arguments);}
> >
> > > > > See if that helps.
> >
> > > > > On 24/01/2008, Marius <[EMAIL PROTECTED]> wrote:
> >
> > > > > > This is definitely a bug in Prototype. But unfortunately I can not
> > > > > > figure out how to fix it.
> > > > > > I had to do the AJAX calls in plain javascript, but all the other
> > > > > > functionality that prototype offers like $F('field') is working just
> > > > > > fine
> >
> > > > > > Marius
> >
> > > > > > On Jan 22, 3:17 pm, Marius <[EMAIL PROTECTED]> wrote:
> > > > > > > Hi all,
> >
> > > > > > > I have this simple javascript function that should work without
> > > > > > > problems:http://pastie.org/142089
> >
> > > > > > > Unfortunately all I get is my params alert and loading alert,
> > > > > > > nothing
> > > > > > > else. I use Firebug with Firefox and I can not see any AJAX calls
> > > > > > > in
> > > > > > > the firebug console and no javascript errors either. What can
> > > > > > > cause
> > > > > > > this, how can I debug it?
> >
> > > > > > > I only have this problem on one page where I have some YUI library
> > > > > > > scripts too.
> >
> > > > > > > Thank you,
> > > > > > > Marius
> >
> > > > > --
> > > > > -----
> > > > > Richard Quadling
> > > > > Zend Certified Engineer
> > > > > :http://zend.com/zce.php?c=ZEND002498&r=213474731
> > > > > "Standing on the shoulders of some very clever giants!"
> >
> > > > --
> > > > -----
> > > > Richard Quadling
> > > > Zend Certified Engineer
> > > > :http://zend.com/zce.php?c=ZEND002498&r=213474731
> > > > "Standing on the shoulders of some very clever giants!"
> >
> > --
> > -----
> > Richard Quadling
> > Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731
> > "Standing on the shoulders of some very clever giants!"
> >
>
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---