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 2010/03/24 11:46:42 UTC
svn commit: r927006 -
/myfaces/tobago/branches/tobago-1.0.x/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Author: lofwyr
Date: Wed Mar 24 10:46:42 2010
New Revision: 927006
URL: http://svn.apache.org/viewvc?rev=927006&view=rev
Log:
comment
Modified:
myfaces/tobago/branches/tobago-1.0.x/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Modified: myfaces/tobago/branches/tobago-1.0.x/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-1.0.x/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js?rev=927006&r1=927005&r2=927006&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js Wed Mar 24 10:46:42 2010
@@ -1021,7 +1021,7 @@ var Tobago = {
var element = document.forms[0].elements[i];
if (element.type != "hidden" && !element.disabled) {
if (element.id) {
- if (element.id.indexOf(id + ":") != 0) {
+ if (element.id.indexOf(id + ":") != 0) { // not starts with
element.disabled = true;
hidden.value += element.id + ",";
} else {
@@ -1036,7 +1036,7 @@ var Tobago = {
var anchor = document.anchors[i];
if (!anchor.disabled) {
if (anchor.id) {
- if (anchor.id.indexOf(id + ":") != 0) {
+ if (anchor.id.indexOf(id + ":") != 0) { // not starts with
anchor.disabled = true;
hidden.value += anchor.id + ",";
} else {