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 2014/09/18 15:24:59 UTC

svn commit: r1625972 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js

Author: lofwyr
Date: Thu Sep 18 13:24:58 2014
New Revision: 1625972

URL: http://svn.apache.org/r1625972
Log:
TOBAGO-939 - RenderedPartially support for sheet and tabGroup
- clean up

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js

Modified: myfaces/tobago/trunk/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/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js?rev=1625972&r1=1625971&r2=1625972&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js Thu Sep 18 13:24:58 2014
@@ -99,19 +99,6 @@ Tobago.Sheet.init = function(elements) {
 Tobago.registerListener(Tobago.Sheet.init, Tobago.Phase.DOCUMENT_READY);
 Tobago.registerListener(Tobago.Sheet.init, Tobago.Phase.AFTER_UPDATE);
 
-
-Tobago.Sheet.prototype.setupSortHeaders = function() {
-  var sheet = this;
-  jQuery(Tobago.Utils.escapeClientId(sheet.id)).find(".tobago-sheet-header[data-tobago-sorterId]").each(function() {
-
-    jQuery(this).click({sheet: sheet, sorterId: jQuery(this).data("tobago-sorterId")}, function(event) {
-
-      event.data.sheet.reloadWithAction(jQuery(this), event.data.sorterId);
-      event.stopPropagation();
-    });
-  });
-};
-
 Tobago.Sheet.prototype.setupPagingLinks = function() {
     idPrefix = this.id + Tobago.SUB_COMPONENT_SEP;
     var linkBox = Tobago.element(idPrefix + "pagingLinks");
@@ -483,7 +470,6 @@ Tobago.Sheet.prototype.setup = function(
     });
   }
 
-  this.setupSortHeaders();
   this.setupPagingLinks();
   this.setupPagePaging();
   this.setupRowPaging();