You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/01/12 11:25:44 UTC

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

Author: weber
Date: Thu Jan 12 02:25:37 2006
New Revision: 368336

URL: http://svn.apache.org/viewcvs?rev=368336&view=rev
Log:
remove obsolete code

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

Modified: incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js?rev=368336&r1=368335&r2=368336&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js (original)
+++ incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js Thu Jan 12 02:25:37 2006
@@ -75,20 +75,6 @@
     LOG.debug("tabgroup loaded : ");
     this.element = this.parent.firstChild;
     this.setUp();
-  },
-
-  // TODO: remove dublicated code : this is also in tobago-sheet.js  
-  createOverlay: function(element) {
-    var overlay = document.createElement('div');
-    overlay.style.position = "absolute";
-    overlay.style.top = "0px";
-    overlay.style.left = "0px";
-    overlay.style.width = element.offsetWidth + 'px';
-    overlay.style.height = element.offsetHeight + 'px';
-    overlay.style.cursor = "wait";
-    // TODO: better z-index strategie
-    overlay.style.zIndex = 10000;
-    element.appendChild(overlay);
   }
 
 }

Modified: incubator/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/viewcvs/incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js?rev=368336&r1=368335&r2=368336&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js (original)
+++ incubator/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-sheet.js Thu Jan 12 02:25:37 2006
@@ -221,20 +221,6 @@
   onComplete: function() {
     LOG.debug("sheet reloaded");
     this.setup();
-  },
-
-  // TODO: remove dublicated code : this is also in tabgroup.js
-  createOverlay: function(element) {
-    var overlay = document.createElement('div');
-    overlay.style.position = "absolute";
-    overlay.style.top = "0px";
-    overlay.style.left = "0px";
-    overlay.style.width = element.offsetWidth + 'px';
-    overlay.style.height = element.offsetHeight + 'px';
-    overlay.style.cursor = "wait";
-    // TODO: better z-index strategie
-    overlay.style.zIndex = 10000;
-    element.appendChild(overlay);
   }
 
 }