Hans Lesmeister created WICKET-5397:
---------------------------------------
Summary: target.prependJavaScript and JQuery-Animation in IE8
Key: WICKET-5397
URL: https://issues.apache.org/jira/browse/WICKET-5397
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 6.11.0
Environment: IE8 on Windows 7, IE8 on Parallels on a MAC
Reporter: Hans Lesmeister
Copied from
http://apache-wicket.1842946.n4.nabble.com/target-prependJavaScript-and-JQuery-Animation-in-IE8-td4662008.html:
To enable animation with JQuery on replacing a component with Ajax, we have
followed the construct with the "|"-Symbol (pipe) in the Javascript that is
added with target.prependJavaScript (see
http://wicketinaction.com/2013/02/replace-components-with-animation => Thank
you, Martin)
This does not seem to work in IE8. I pass a function like this:
prependJavaScript("notify|myfunction(notify, '" + container.getMarkupId() +
"')");
The Function looks like this:
function myfunction(notify, id) {
Wicket.Log.info("this is not reached in IE8");
JQuery("#" + id).slideUp(500, notify);
}
In IE8, myfunction is not called at all. On FF and other Browsers everything
works okay.
--
This message was sent by Atlassian JIRA
(v6.1#6144)