Wicket
  1. Wicket
  2. WICKET-1249

modal.js conflicts with mootools and possibly other javascript frameworks. + patch fix

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-rc2
    • Fix Version/s: 1.3.1
    • Component/s: wicket-extensions
    • Labels:
      None
    • Environment:
      linux / jdk 1.6 etc

      Description

      Modal.js issues

      1. Modal.js defines Class instead of Wicket.Class. Modal.js tries to define new Wicket classes via Class instead of Wicket.Class.xxx.
      2. Object.extend conflicts with mootools, so I created a new Wicket class Wicket.Object with an extend method.

      Here is the patch against wicket-extensions trunk. This works perfectly with mootools-trunk

      http://temp.fabulously40.com/~victori/modalconflictfix.patch

        Activity

        Victor Igumnov created issue -
        Frank Bille Jensen made changes -
        Field Original Value New Value
        Fix Version/s 1.3.1 [ 12312500 ]
        Fix Version/s 1.3.0-rc3 [ 12312886 ]
        Victor Igumnov made changes -
        Summary modal.js conflicts with mootools and possibly other javascript frameworks. modal.js conflicts with mootools and possibly other javascript frameworks. + patch fix
        Igor Vaynberg made changes -
        Assignee Matej Knopp [ knopp ]
        Victor Igumnov made changes -
        Attachment modalconflictfix.patch [ 12372551 ]
        Matej Knopp made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Matej Knopp
            Reporter:
            Victor Igumnov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development