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/18 09:47:37 UTC
svn commit: r1362795 -
/myfaces/tobago/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js
Author: lofwyr
Date: Wed Jul 18 07:47:36 2012
New Revision: 1362795
URL: http://svn.apache.org/viewvc?rev=1362795&view=rev
Log:
fixing jQuery syntax (2nd try)
Modified:
myfaces/tobago/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js
Modified: myfaces/tobago/branches/tobago-1.5.x/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/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js?rev=1362795&r1=1362794&r2=1362795&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js (original)
+++ myfaces/tobago/branches/tobago-1.5.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-popup.js Wed Jul 18 07:47:36 2012
@@ -189,9 +189,7 @@ Tobago.Popup.openWithAction = function (
// If there is no div, create one.
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-page,.tobago-popup):last')
- .after("<div id='" + popupId + "' />");
+ jQuery('form').append("<div id='" + popupId + "' />");
}
Tobago.reloadComponent(source, popupId, actionId, options);