You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2012/05/10 10:03:41 UTC

svn commit: r1336523 - /myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js

Author: werpu
Date: Thu May 10 08:03:40 2012
New Revision: 1336523

URL: http://svn.apache.org/viewvc?rev=1336523&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3544

Modified:
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=1336523&r1=1336522&r2=1336523&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Thu May 10 08:03:40 2012
@@ -225,6 +225,9 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponse", 
 
         var _Lang = this._Lang, _Dom = this._Dom;
         elem = _Dom.byIdOrName(elem);
+        //elem not found for whatever reason
+        //https://issues.apache.org/jira/browse/MYFACES-3544
+        if(!elem) return;
 
         var replacedForms = _Dom.findByTagName(elem, "form", false);
         var applyVST = _Lang.hitch(this, function(elem) {