myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r917999 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/logging.js
Date Tue, 02 Mar 2010 12:31:02 GMT
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() {



Mime
View raw message