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 2015/10/15 13:07:05 UTC
svn commit: r1708791 -
/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-sheet.js
Author: lofwyr
Date: Thu Oct 15 11:07:05 2015
New Revision: 1708791
URL: http://svn.apache.org/viewvc?rev=1708791&view=rev
Log:
code style
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-sheet.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-sheet.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-sheet.js?rev=1708791&r1=1708790&r2=1708791&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-sheet.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-sheet.js Thu Oct 15 11:07:05 2015
@@ -142,7 +142,7 @@ Tobago.Sheet.prototype.setupRowPaging =
Tobago.Sheet.prototype.doPaging = function(event) {
var element = Tobago.element(event);
- var action = "unset";
+ var action;
if (element.id.match(this.firstRegExp)){
action = this.id + Tobago.COMPONENT_SEP +"First";
} else if (element.id.match(this.prevRegExp)){
@@ -151,6 +151,8 @@ Tobago.Sheet.prototype.doPaging = functi
action = this.id + Tobago.COMPONENT_SEP +"Next";
} else if (element.id.match(this.lastRegExp)){
action = this.id + Tobago.COMPONENT_SEP +"Last";
+ } else {
+ action = "unset";
}
this.reloadWithAction(event.srcElement, action);
};