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/24 14:00:51 UTC
svn commit: r1736441 -
/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 Mar 24 13:00:51 2016
New Revision: 1736441
URL: http://svn.apache.org/viewvc?rev=1736441&view=rev
Log:
logging, dev only
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=1736441&r1=1736440&r2=1736441&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 Mar 24 13:00:51 2016
@@ -167,7 +167,7 @@ Tobago.Sheet.setup2 = function (sheets)
// begin resizing
// console.log("begin");
// console.log(event);
- console.info("down");
+ console.info("down"); // @DEV_ONLY
var columnIndex = jQuery(this).data("tobago-column-index");
var body = jQuery("body");
var column = jQuery(this).closest("table").children("colgroup").children("col").eq(columnIndex);
@@ -181,7 +181,7 @@ Tobago.Sheet.setup2 = function (sheets)
originalFillerWidth: parseInt(filler.attr("width"))
};
body.on("mousemove", data, function(event) {
- console.info("move");
+ console.info("move"); // @DEV_ONLY
var delta = event.clientX - event.data.originalClientX;
// console.log("columnResize(): " + event.data.columnIndex + ", delta: " + delta);
delta = - Math.min(-delta, event.data.originalColumnWidth - 10);
@@ -200,7 +200,7 @@ Tobago.Sheet.setup2 = function (sheets)
body.one("mouseup", {sheet: jQuery(this).closest(".tobago-sheet")}, function (event) {
// switch off the mouse move listener
jQuery("body").off("mousemove");
- console.info("up");
+ console.info("up"); // @DEV_ONLY
// copy the width values from the header to the body, (and build a list of it)
var sheet = event.data.sheet;
var headerTable = sheet.find(".tobago-sheet-headerTable");