From 7ec87a86a24d0f0d96d7df417e2f1c46ddc6fbfa Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Mon, 12 Jan 2009 21:40:59 +0000 Subject: Move `browse.js` code into the `futon` namespace, and restore the selected tab based on the hash in the URL. Applies a small part of the patch to COUCHDB-200. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733912 13f79535-47bb-0310-9956-ffa450edef68 --- share/Makefile.am | 2 +- share/www/database.html | 4 +- share/www/document.html | 22 +- share/www/index.html | 4 +- share/www/script/browse.js | 942 -------------------------------------- share/www/script/futon.browse.js | 962 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 971 insertions(+), 965 deletions(-) delete mode 100644 share/www/script/browse.js create mode 100644 share/www/script/futon.browse.js diff --git a/share/Makefile.am b/share/Makefile.am index b78fbb7a..5ed70007 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -54,11 +54,11 @@ nobase_dist_localdata_DATA = \ www/database.html \ www/document.html \ www/replicator.html \ - www/script/browse.js \ www/script/couch.js \ www/script/couch_tests.js \ www/script/couch_test_runner.js \ www/script/futon.js \ + www/script/futon.browse.js \ www/script/futon.format.js \ www/script/jquery.js \ www/script/jquery.cookies.js \ diff --git a/share/www/database.html b/share/www/database.html index 02886ef4..c540972f 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -26,10 +26,10 @@ specific language governing permissions and limitations under the License. - + - + - +