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/02 13:31:02 UTC

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

Author: lofwyr
Date: Tue Mar  2 12:31:01 2010
New Revision: 917999

URL: http://svn.apache.org/viewvc?rev=917999&view=rev
Log:
give logging area a unique class name

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

Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/logging.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/logging.js?rev=917999&r1=917998&r2=917999&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/logging.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/logging.js Tue Mar  2 12:31:01 2010
@@ -150,6 +150,7 @@
     this.element.style.paddingTop = "25px";
     this.element.style.overflow = "hidden";
     this.element.style.zIndex = "9010";
+    this.element.className = "tobagoLogArea";
 
     this.dragHandleTop = document.createElement("DIV");
     this.setUpHandleDiv(this.dragHandleTop, "0px", "0px", null, null, "100%", "25px", "2px outset gray", null, "move");
@@ -277,7 +278,7 @@
     LOG.addAppender(this);
 
     /* Select the logging area with jQuery. TODO: The selector is fragile! */
-    $("body > div").draggable();
+    $("body > .tobagoLogArea").draggable();
 };
 
 LOG.LogArea.prototype.show = function() {