From f6447a3f18a3a1ee51cd488af7e65b51f10c0131 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 11 Dec 2009 18:58:12 +0000 Subject: 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 --- share/www/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'share/www/index.html') 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. - @@ -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(); -- cgit v1.2.3