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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-rc2
    • 1.3.1
    • wicket-extensions
    • None
    • 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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            knopp Matej Knopp
            victori Victor Igumnov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment