On Nov 16, 2007 10:16 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Okay, now that my credibility is shot, I have another question about
> the in-place editor code. There is this function in the
> InPlaceEditor:
>
> triggerCallback: function(cbName, arg) {
> if ('function' == typeof this.options[cbName]) {
> this.options[cbName](this, arg);
> }
> }
>
> then the default onFailure method, which gets called from
> triggerCallback, is:
> onFailure: function(transport, ipe) {
> alert('Error communication with the server: ' +
> transport.responseText.stripTags());
> }
>
> Aren't the arguments backwards? When I submit a request that fails, I
> never see an alert because the "transport" variable in the onFailure
> method is really the InPlaceEditor.
>
> I tried to submit it as a bug from the scriptaculous website but do
> not have the proper privileges.
To submit bugs to script.aculo.us, or Prototype, you have to do it from
http://dev.rubyonrails.org/
You can register an account on the trac there and then post tickets
normally.
Read http://prototypejs.org/contribute for more details :)
Best,
-Nicolas
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---