summaryrefslogtreecommitdiff
path: root/share/www/index.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-09 18:20:37 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-09 18:20:37 +0000
commite19b5124101f2ff5aa755df99b0fcbd0923aa01f (patch)
treef94bbddb7bdd113b5ee8e2fd00e53375b313daa7 /share/www/index.html
parent3e0e530cae34bd8d5c9bb45a78923a9bfbc256ca (diff)
Refactoring in Futon to clean up interactions between specific pages and the navigation. Also, switched some graphics over to PNGs with alpha-transparency (screw you IE6), and added a button for removing databases from the recent databases list.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733104 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/index.html')
-rw-r--r--share/www/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/www/index.html b/share/www/index.html
index 07bc63d4..37df0960 100644
--- a/share/www/index.html
+++ b/share/www/index.html
@@ -23,17 +23,17 @@ specific language governing permissions and limitations under the License.
<script src="script/jquery.cookies.js?0.9.0"></script>
<script src="script/jquery.couch.js?0.9.0"></script>
<script src="script/jquery.dialog.js?0.9.0"></script>
+ <script src="script/futon.js?0.9.0"></script>
<script src="script/browse.js?0.9.0"></script>
<script src="script/pprint.js?0.9.0"></script>
<script>
var page = new CouchIndexPage();
$(document).ready(function() {
- $.get("_sidebar.html", function(resp) {
- $(resp).insertAfter("#wrap");
- if (!/index\.html$/.test(location.pathname)) {
- updateNavigation(location.pathname + "index.html");
- }
- });
+ if (!/index\.html$/.test(location.pathname)) {
+ $.futon.navigation.ready(function() {
+ this.updateSelection(location.pathname + "index.html");
+ });
+ }
var dbsPerPage = $.cookies.get("perpage");
if (dbsPerPage) $("#perpage").val(dbsPerPage);
$("#perpage").change(function() {