You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by cm...@apache.org on 2008/08/01 23:30:24 UTC

svn commit: r681843 - /incubator/couchdb/trunk/share/www/script/browse.js

Author: cmlenz
Date: Fri Aug  1 14:30:23 2008
New Revision: 681843

URL: http://svn.apache.org/viewvc?rev=681843&view=rev
Log:
Fix auto-expanding of view editor textareas for temp views.

Modified:
    incubator/couchdb/trunk/share/www/script/browse.js

Modified: incubator/couchdb/trunk/share/www/script/browse.js
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/share/www/script/browse.js?rev=681843&r1=681842&r2=681843&view=diff
==============================================================================
--- incubator/couchdb/trunk/share/www/script/browse.js [utf-8] (original)
+++ incubator/couchdb/trunk/share/www/script/browse.js [utf-8] Fri Aug  1 14:30:23 2008
@@ -451,7 +451,7 @@
       db.allDocs(options);
     } else {
       if (viewName == "_temp_view") {
-        $("#viewcode").show().addClass("expanded");
+        $("#viewcode").show().removeClass("collapsed");
         var mapFun = $("#viewcode_map").val();
         $.cookies.set(db.name + ".map", mapFun);
         var reduceFun = $("#viewcode_reduce").val() || null;