Hi,
We are currently using prototype library (v 1.5.0_rc1) to display
popup windows (Window.js v 0.99). Currently on our screens we have few
select boxes where in user can select/remove few items and whenever
user does some time consuming updates, we show a popup window (modal
dialog) using prototype lib asking him to wait. Now after the
operation is completed we are closing the popup window.
Now on the same screen user can remove few items from the select box &
we invoke the ''remove'' method on the select box to do the
same. Now
after the prototype popup window comes up, whenever user tries to
remove an item from select box it is invoking the below method of the
Element object:
Element.Methods = {
...
remove: function(element) {
element = $(element);
element.parentNode.removeChild(element);
return element;
},
Now it was supposed to invoke the remove method on the select box but
instead it is invoking this method. Now because of the prototypes the
Elements remove method is called instead of the select boxe''s?
Any way to make sure it invokes the remove method of select box
instead? Any suggestions/input will be of great help.
Regards,
Jagadish
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---