You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by jc...@apache.org on 2009/01/07 22:37:39 UTC

svn commit: r732510 - in /couchdb/trunk: THANKS share/www/browse/database.html share/www/browse/document.html share/www/index.html share/www/script/jquery.history.js

Author: jchris
Date: Wed Jan  7 13:37:38 2009
New Revision: 732510

URL: http://svn.apache.org/viewvc?rev=732510&view=rev
Log:
backing out r732413 - Futon browse history, due to Safari incompatibility

Removed:
    couchdb/trunk/share/www/script/jquery.history.js
Modified:
    couchdb/trunk/THANKS
    couchdb/trunk/share/www/browse/database.html
    couchdb/trunk/share/www/browse/document.html
    couchdb/trunk/share/www/index.html

Modified: couchdb/trunk/THANKS
URL: http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=732510&r1=732509&r2=732510&view=diff
==============================================================================
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Wed Jan  7 13:37:38 2009
@@ -12,7 +12,6 @@
  * Yoan Blanc <yo...@gmail.com>
  * Paul Carey <pa...@gmail.com>
  * Benoit Chesneau <bc...@gmail.com>
- * Jason Davies <ja...@jasondavies.com>
  * Paul Joseph Davis <pa...@gmail.com>
  * Michael Gottesman <go...@reed.edu>
  * Michael Hendricks <mi...@ndrix.org>
@@ -24,6 +23,5 @@
  * Sam Ruby <ru...@intertwingly.net>
  * Dirk Schalge <di...@epd-me.net>
  * Carlos Valiente <su...@gmail.com>
- * Luke Venediger <lu...@lukev.net>
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/share/www/browse/database.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/database.html?rev=732510&r1=732509&r2=732510&view=diff
==============================================================================
--- couchdb/trunk/share/www/browse/database.html [utf-8] (original)
+++ couchdb/trunk/share/www/browse/database.html [utf-8] Wed Jan  7 13:37:38 2009
@@ -103,9 +103,6 @@
         $("#toolbar button.add").click(page.addDocument);
         $("#toolbar button.compact").click(page.compactDatabase);
         $("#toolbar button.delete").click(page.deleteDatabase);
-
-        // Update title
-        document.title = "Browse Database " + page.db.name;
       });
     </script>
   </head>

Modified: couchdb/trunk/share/www/browse/document.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/browse/document.html?rev=732510&r1=732509&r2=732510&view=diff
==============================================================================
--- couchdb/trunk/share/www/browse/document.html [utf-8] (original)
+++ couchdb/trunk/share/www/browse/document.html [utf-8] Wed Jan  7 13:37:38 2009
@@ -64,9 +64,6 @@
         $("#toolbar button.add").click(page.addField);
         $("#toolbar button.load").click(page.uploadAttachment);
         $("#toolbar button.delete").click(page.deleteDocument);
-
-        // Update the title
-        document.title = "View Document " + page.docId; 
       });
     </script>
   </head>

Modified: couchdb/trunk/share/www/index.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/index.html?rev=732510&r1=732509&r2=732510&view=diff
==============================================================================
--- couchdb/trunk/share/www/index.html [utf-8] (original)
+++ couchdb/trunk/share/www/index.html [utf-8] Wed Jan  7 13:37:38 2009
@@ -30,8 +30,7 @@
     <script src="script/jquery.js?1.2.6"></script>
     <script src="script/jquery.cookies.js?0.8.0"></script>
     <script src="script/jquery.couch.js?0.8.0"></script>
-    <script src="script/jquery.history.js?0.8.0"></script>
-    <script type="text/javascript">
+    <script>
       function updateRecentDatabasesList() {
         $("#dbs").empty();
         var recentDbs = $.cookies.get("recent", "").split(",");
@@ -42,17 +41,6 @@
             "</a></li>");
         });
       }
-      var baseURL = location.pathname.match(/.*\//).toString();
-      function updateIFrame(hash) {
-        var l = frames['content'].location;
-        var title = frames['content'].document.title + " - Apache CouchDB: Futon Utility Client";        
-        document.title = title;	
-        var href = baseURL + hash;
-        // For some reason the onload event fires twice; the 2nd time with URL-decoded l.href
-        if (hash != '' && decodeURIComponent(l.pathname + l.search) != decodeURIComponent(href)) {
-          l.href = href;
-        }
-      }
       function updateNavigation(path, queryString) {
         function fixupPath(path) { // hack for IE/Win
           return (path.charAt(0) != "/") ? ("/" + path) : path;
@@ -81,11 +69,6 @@
         });
       }
       $(function() {
-        $.historyInit(updateIFrame);
-        $('#content').load(function() {
-          var l = frames["content"].location;
-          $.historyLoad(l.pathname.substring(baseURL.length) + l.search);
-        });
         $.couch.info({
           success: function(info, status) {
             $("#version").text(info.version);
@@ -112,7 +95,7 @@
     </ul>
     <div id="footer">Futon on Apache CouchDB <span id="version">?</span></div>
     <div id="view">
-      <iframe name="content" src="browse/index.html" allowtransparency="true" id="content">
+      <iframe name="content" src="browse/index.html" allowtransparency="true">
     </div>
   </body>
 </html>