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/03/10 14:28:15 UTC

svn commit: r1734411 - /myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js

Author: lofwyr
Date: Thu Mar 10 13:28:13 2016
New Revision: 1734411

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

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

Modified: myfaces/tobago/branches/tobago-3.0.x/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/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=1734411&r1=1734410&r2=1734411&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Thu Mar 10 13:28:13 2016
@@ -681,63 +681,6 @@ var Tobago = {
     }
   },
 
-
-  /**
-   *  Onchange function for SelectOneListbox.
-   *  @deprecated since Tobago 2.0.0. Is replaces with SelectOneListbox.init()
-   */
-  selectOneListboxChange: function(element) {
-    if (element.oldValue == undefined) {
-      element.oldValue = -1;
-    }
-  },
-
-  /**
-   * Onclick function for SelectOneListbox.
-   *  @deprecated since Tobago 2.0.0. Is replaces with SelectOneListbox.init()
-   */
-  selectOneListboxClick: function(element) {
-    if (element.oldValue == undefined || element.oldValue == element.selectedIndex) {
-      element.selectedIndex = -1;
-    }
-    element.oldValue = element.selectedIndex;
-  },
-
-  /**
-   * Init function for SelectOneRadio.
-   *  @deprecated since Tobago 2.0.0. Is replaces with SelectOneRadio.init()
-   */
-  selectOneRadioInit: function(name) {
-    var elements = document.getElementsByName(name);
-    for (var i = 0; i < elements.length; i++) {
-      elements[i].oldValue = elements[i].checked;
-    }
-  },
-
-  /**
-   * Onclick function for SelectOneRadio.
-   *  @deprecated since Tobago 2.0.0. Is replaces with SelectOneRadio.init()
-   */
-  selectOneRadioClick: function(element, name, required, readonly) {
-    var elements = document.getElementsByName(name);
-    for (var i = 0; i < elements.length; i++) {
-      if (readonly) {
-        elements[i].checked = elements[i].oldValue;
-      } else {
-        if (elements[i] != element) {
-          elements[i].checked = false;
-          elements[i].oldValue = false;
-        }
-      }
-    }
-    if (!required && !readonly) {
-      if (element.oldValue == element.checked) {
-        element.checked = false;
-      }
-      element.oldValue = element.checked;
-    }
-  },
-
   resizePage: function(event) {
     Tobago.resizeEventCount++;
     window.setTimeout(Tobago.resizePageAction, 250);