summaryrefslogtreecommitdiff
path: root/share/www/index.html
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-12-11 18:58:12 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-12-11 18:58:12 +0000
commitf6447a3f18a3a1ee51cd488af7e65b51f10c0131 (patch)
treeccfed74c72275196b4cc32745e24fe3b4bd0230a /share/www/index.html
parent908f1a6068f6a055b15790289643d0e0a53f53a2 (diff)
Futon: Improve storage of session state by storing short-term settings in the window.name.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@889766 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/index.html')
-rw-r--r--share/www/index.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/www/index.html b/share/www/index.html
index 3255767f..8115bc4d 100644
--- a/share/www/index.html
+++ b/share/www/index.html
@@ -20,7 +20,6 @@ specific language governing permissions and limitations under the License.
<link rel="stylesheet" href="style/layout.css?0.11.0" type="text/css">
<script src="script/json2.js"></script>
<script src="script/jquery.js?1.3.2"></script>
- <script src="script/jquery.cookies.js?0.11.0"></script>
<script src="script/jquery.couch.js?0.11.0"></script>
<script src="script/jquery.dialog.js?0.11.0"></script>
<script src="script/futon.js?0.11.0"></script>
@@ -34,11 +33,11 @@ specific language governing permissions and limitations under the License.
this.updateSelection(location.pathname + "index.html");
});
}
- var dbsPerPage = $.cookies.get("perpage");
+ var dbsPerPage = $.futon.storage.get("per_page");
if (dbsPerPage) $("#perpage").val(dbsPerPage);
$("#perpage").change(function() {
page.updateDatabaseListing();
- $.cookies.set("perpage", this.value);
+ $.futon.storage.set("per_page", this.value);
});
page.updateDatabaseListing();