summaryrefslogtreecommitdiff
path: root/share/www/index.html
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-01-07 21:37:38 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-01-07 21:37:38 +0000
commit7f975737b0b2f84445bae6c402786b2e682db74a (patch)
treeb6b820b9be6cbf389b5a7e87a8a308ddcd544be9 /share/www/index.html
parentb4b3f972483c20f17266987d94ae3b32ed00aa2d (diff)
backing out r732413 - Futon browse history, due to Safari incompatibility
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732510 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/index.html')
-rw-r--r--share/www/index.html21
1 files changed, 2 insertions, 19 deletions
diff --git a/share/www/index.html b/share/www/index.html
index a20754b8..37217384 100644
--- a/share/www/index.html
+++ b/share/www/index.html
@@ -30,8 +30,7 @@ specific language governing permissions and limitations under the License.
<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 @@ specific language governing permissions and limitations under the License.
"</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 @@ specific language governing permissions and limitations under the License.
});
}
$(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 @@ specific language governing permissions and limitations under the License.
</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>