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

ModalWindow.closeCurrent Javascript error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.7
    • 6.1.0, 1.5.9
    • wicket-extensions
    • None
    • Internet Explorer 9

    Description

      Hi,

      I have a window with a page on it that can upload a file. After uploading the file I call methode ModalWindow.closeCurrent for closing the window. But it doesn't close in internet explorer 9, in the ajax-debug window I get the following error:
      ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript: SyntaxError: Expected ';'

      So I debugged in ModalWindow and when I change the javascript in ModalWindow getCloseJavacriptInternal line 418: var close = function()

      {...}

      ; with that last ';' then it works fine.

      Thanks
      Ann

      Attachments

        Activity

          People

            papegaaij Emond Papegaaij
            ann Ann Baert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: