You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ann Baert (JIRA)" <ji...@apache.org> on 2012/09/14 11:23:07 UTC

[jira] [Created] (WICKET-4761) ModalWindow.closeCurrent Javascript error

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

[jira] [Assigned] (WICKET-4761) ModalWindow.closeCurrent Javascript error

Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emond Papegaaij reassigned WICKET-4761:
---------------------------------------

    Assignee: Emond Papegaaij
    
> 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
>            Assignee: Emond Papegaaij
>             Fix For: 6.1.0
>
>
> 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

[jira] [Updated] (WICKET-4761) ModalWindow.closeCurrent Javascript error

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov updated WICKET-4761:
------------------------------------

    Fix Version/s: 6.1.0
    
> 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
>             Fix For: 6.1.0
>
>
> 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

[jira] [Resolved] (WICKET-4761) ModalWindow.closeCurrent Javascript error

Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emond Papegaaij resolved WICKET-4761.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.9

I've added the semicolon and removed another one, which wasn't needed. I don't have IE to test this is, but the semicolon was indeed missing (it's an assignment). Normally the JS-engine should insert a semicolon, but perhaps this doesn't work due to way this js is executed. It's better to just put the semicolons where they are supposed to go and not rely on any auto semicolon insertion.
                
> 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
>            Assignee: Emond Papegaaij
>             Fix For: 6.1.0, 1.5.9
>
>
> 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