You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/07/17 20:18:34 UTC

svn commit: r1362590 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js

Author: lofwyr
Date: Tue Jul 17 18:18:33 2012
New Revision: 1362590

URL: http://svn.apache.org/viewvc?rev=1362590&view=rev
Log:
Revert: fixing jQuery syntax

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js?rev=1362590&r1=1362589&r2=1362590&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js Tue Jul 17 18:18:33 2012
@@ -194,7 +194,7 @@ Tobago.Popup.openWithAction = function (
   var div = jQuery(Tobago.Utils.escapeClientId(popupId));
   if (div.size() == 0) {
     jQuery('form:first')// add the new div after the page and the popup divs.
-        .children(".tobago-popup:last")
+        .children('(.tobago-page,.tobago-popup):last')
         .after("<div id='" + popupId + "' />");
   }