You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "mihalcea vlad (JIRA)" <ji...@apache.org> on 2009/01/21 22:57:45 UTC

[jira] Created: (WW-2964) self.reloadContents() method from struts_dojo.js doesn't send the evt object as a parameter

self.reloadContents() method from struts_dojo.js doesn't send the evt object as a parameter
-------------------------------------------------------------------------------------------

                 Key: WW-2964
                 URL: https://issues.apache.org/struts/browse/WW-2964
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.6
            Reporter: mihalcea vlad
            Priority: Critical


In struts_dojo.js the reloadContents function contains the evt  parameter (current event object),
which is supposed to be sent further as a parameter to the submitted form
onSubmit method. But the reloadContents method is called without supplying
the evt parameter.

See:

evt.stopPropagation();
self.reloadContents(); 

should be

evt.stopPropagation();
self.reloadContents(evt); 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-2964) self.reloadContents() method from struts_dojo.js doesn't send the evt object as a parameter

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher closed WW-2964.
-------------------------------

    Resolution: Won't Fix

We are moving away from the struts-dojo integration. To get the fix you mentioned incorporated, reopen this issue, but attach a patch file containing the change you want.

> self.reloadContents() method from struts_dojo.js doesn't send the evt object as a parameter
> -------------------------------------------------------------------------------------------
>
>                 Key: WW-2964
>                 URL: https://issues.apache.org/struts/browse/WW-2964
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>            Reporter: mihalcea vlad
>            Priority: Critical
>
> In struts_dojo.js the reloadContents function contains the evt  parameter (current event object),
> which is supposed to be sent further as a parameter to the submitted form
> onSubmit method. But the reloadContents method is called without supplying
> the evt parameter.
> See:
> evt.stopPropagation();
> self.reloadContents(); 
> should be
> evt.stopPropagation();
> self.reloadContents(evt); 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.