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 2016/08/17 09:27:31 UTC

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

Author: lofwyr
Date: Wed Aug 17 09:27:31 2016
New Revision: 1756598

URL: http://svn.apache.org/viewvc?rev=1756598&view=rev
Log:
cleanup

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

Modified: myfaces/tobago/trunk/tobago-theme/tobago-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/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1756598&r1=1756597&r2=1756598&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Wed Aug 17 09:27:31 2016
@@ -1804,12 +1804,6 @@ Tobago.Command.initInputElements = funct
         id = Tobago.Utils.getNamingContainerId(id);
       }
     }
-
-    if (command.size() > 0) {
-      // add new classes
-      command.filter("a").addClass("tobago-link-markup-default");
-      command.filter("button").addClass("tobago-button-markup-default");
-    }
   });
   inputElements.blur(function (event) {
     var target = event.target;
@@ -1826,12 +1820,6 @@ Tobago.Command.initInputElements = funct
         id = Tobago.Utils.getNamingContainerId(id);
       }
     }
-
-    if (command.size() > 0) {
-      // remove old
-      command.filter("a").removeClass("tobago-link-markup-default");
-      command.filter("button").removeClass("tobago-button-markup-default");
-    }
   });
 };