I have a new version that works properly cross-browser. I'll be committing shortly. Thanks for the heads up!
On Wed, May 12, 2010 at 8:24 AM, Joost Schouten (ml) <[email protected]> wrote: > Maybe because in my situation the form with LinkSubmit is loaded in a Zone > through ajax?? Not sure. But reading the forums I read more on FF not > supporting outerHTML. I fixed it locally by reverting the > replaceElementTagName js method to the old version [1]. > > Shall I add it as a patch to the ticket? > > Cheers, > Joost > > [1]: > > replaceElementTagName : function(element, newTagName) { > > var newElement = new Element(newTagName); > $A($(element).attributes).each(function (attribute) { > newElement.writeAttribute(attribute.name, attribute.value); > }); > /** Copy the original element's content over. */ > newElement.update($(element).innerHTML); > $(element).insert({ before: newElement}).remove(); > return newElement; > } > > Howard Lewis Ship wrote: >> >> I'm surprised because I tested on FF, Chrome and IE. >> >> On Wed, May 12, 2010 at 1:23 AM, Joost Schouten (ml) >> <[email protected]> wrote: >> >>> >>> Hi, >>> >>> The fix of TAP-1129 seems to have introduced outerHTML to the tapestry.js >>> which is not recognized by firefox and thus causes the LinkSubmit never >>> to >>> be rewritten as an actual link. >>> >>> Shall I reopen the issue/add a jira bug (and fix) or am I missing >>> something? >>> >>> Cheers, >>> Joost >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >>> >> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
