You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/11/30 14:54:28 UTC
svn commit: r599823 -
/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
Author: bommel
Date: Fri Nov 30 05:54:26 2007
New Revision: 599823
URL: http://svn.apache.org/viewvc?rev=599823&view=rev
Log:
(TOBAGO-561) simplify javascript
Modified:
myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago.js
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=599823&r1=599822&r2=599823&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 Nov 30 05:54:26 2007
@@ -1486,10 +1486,7 @@
},
setDefaultAction: function(defaultActionId) {
- var field = Tobago.element(Tobago.page.id + Tobago.SUB_COMPONENT_SEP + "form-action");
- if (field) {
- field.value = defaultActionId;
- }
+ Tobago.action.value = defaultActionId;
}
};