myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r927928 - in /myfaces/tobago/trunk/theme: scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/ standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/
Date Fri, 26 Mar 2010 15:51:15 GMT
Author: lofwyr
Date: Fri Mar 26 15:51:15 2010
New Revision: 927928

URL: http://svn.apache.org/viewvc?rev=927928&view=rev
Log:
code style: using jQuery instead of $

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

Modified: myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js?rev=927928&r1=927927&r2=927928&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js
(original)
+++ myfaces/tobago/trunk/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tobago-menu.js
Fri Mar 26 15:51:15 2010
@@ -215,7 +215,7 @@ function xxx_tobagoMenuInit() {
     jQuery(".tobago-menu-top").click(function(event) {
 
       // e. g. disabled by a popup
-      if($(this).children("a").attr("disabled")) {
+      if(jQuery(this).children("a").attr("disabled")) {
         return;
       }
       // register on click handlers

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=927928&r1=927927&r2=927928&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
(original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Fri Mar 26 15:51:15 2010
@@ -1036,7 +1036,7 @@ var Tobago = {
     var id = jQuery(element).attr("id");
     LOG.debug("Blink: Popup id is '" + id + "'");
     Tobago.addCssClass(id, "tobago-popup-blink");
-    setTimeout("Tobago.removeCssClass('" + id + "', 'tobago-popup-blink')", 30);
+    setTimeout("Tobago.removeCssClass('" + id + "', 'tobago-popup-blink')", 20);
   },
 
   /**
@@ -1044,7 +1044,7 @@ var Tobago = {
    */
   closePopup: function(element) {
     Tobago.unlockBehindPopup();
-    var popup = $(element).parents("div.tobago-popup-default:first");
+    var popup = jQuery(element).parents("div.tobago-popup-default:first");
     popup.remove();
     Tobago.setupPopup();
   },



Mime
View raw message