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/29 10:15:44 UTC
svn commit: r928631 -
/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Author: lofwyr
Date: Mon Mar 29 08:15:44 2010
New Revision: 928631
URL: http://svn.apache.org/viewvc?rev=928631&view=rev
Log:
syntax
Modified:
myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js
Modified: myfaces/tobago/trunk/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/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js?rev=928631&r1=928630&r2=928631&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js Mon Mar 29 08:15:44 2010
@@ -67,7 +67,7 @@ Tobago.Sheet = function(sheetId, enableA
this.headerDivId = this.id + "_header_div";
this.contentDivId = this.id + "_data_div";
this.selectedId = this.id + Tobago.SUB_COMPONENT_SEP +"selected";
- this.headerWidthsId = this.id + Tobago.SUB_COMPONENT_SEP + "widths"
+ this.headerWidthsId = this.id + Tobago.SUB_COMPONENT_SEP + "widths";
this.scrollPositionId = this.id + Tobago.SUB_COMPONENT_SEP + "scrollPosition";
Tobago.addAjaxComponent(this.id, this);
@@ -152,7 +152,7 @@ Tobago.Sheet.prototype.setupPagingLinks
Tobago.Sheet.prototype.setupPagePaging = function() {
linkBox = Tobago.element(idPrefix + "pagingPages");
if (linkBox) {
- for (i = 0 ; i < linkBox.childNodes.length ; i++) {
+ for (var i = 0 ; i < linkBox.childNodes.length ; i++) {
var child = linkBox.childNodes[i];
if (child.nodeType == 1 && child.tagName.toUpperCase() == "IMG") {
// first, prev, next and last commands
@@ -340,7 +340,7 @@ Tobago.Sheet.prototype.setupResizer = fu
Tobago.addBindEventListener(headerDiv, "mousemove", this, "doResize");
Tobago.addBindEventListener(headerDiv, "mouseup", this, "endResize");
}
- var contentDiv = Tobago.element(this.contentDivId)
+ var contentDiv = Tobago.element(this.contentDivId);
Tobago.addBindEventListener(contentDiv, "scroll", this, "doScroll");
var resizer = Tobago.element(this.id + "_header_resizer_" + i++ );
while (resizer) {
@@ -417,7 +417,7 @@ Tobago.Sheet.prototype.setScrollPosition
}
}
}
-}
+};
Tobago.Sheet.prototype.initReload = function() {
if (typeof this.autoReload == "number" && Tobago.element(this.contentDivId)) {