You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2010/08/12 15:57:38 UTC

svn commit: r984782 - /myfaces/trinidad/branches/trinidad-1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js

Author: matzew
Date: Thu Aug 12 13:57:38 2010
New Revision: 984782

URL: http://svn.apache.org/viewvc?rev=984782&view=rev
Log:
TRINIDAD-1837 - PPR request doesn't update textarea


thanks to Volker Malzahn for the patch

Modified:
    myfaces/trinidad/branches/trinidad-1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js

Modified: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js?rev=984782&r1=984781&r2=984782&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js (original)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Page.js Thu Aug 12 13:57:38 2010
@@ -500,9 +500,12 @@ TrPage._getFirstElementWithId = function
         return childNode;
       }
     }
-    return TrPage._getFirstElementWithId(childNode);
+    var recCallResult = TrPage._getFirstElementWithId(childNode);
+    if (recCallResult != null)
+    {
+     return recCallResult;
+    } 
   }
-
   return null;
 }