Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5397

target.prependJavaScript and JQuery-Animation in IE8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.11.0
    • 6.12.0, 7.0.0-M1
    • wicket
    • None
    • IE8 on Windows 7, IE8 on Parallels on a MAC

    Description

      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.

      Attachments

        1. QuickStartWicket6-IE8.zip
          31 kB
          Hans Lesmeister

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            lessy Hans Lesmeister
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: