Ann Baert created WICKET-4761:
---------------------------------

             Summary: ModalWindow.closeCurrent Javascript error
                 Key: WICKET-4761
                 URL: https://issues.apache.org/jira/browse/WICKET-4761
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.5.7
         Environment: Internet Explorer 9
            Reporter: Ann Baert


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to