From 4e244a75bf6b352c94a21a131b1ecdcb74e6d3e3 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Tue, 2 Nov 2010 22:16:54 +0000 Subject: Escape URL and cookie input. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030262 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/index.html') diff --git a/share/www/index.html b/share/www/index.html index e34dbde1..975f5986 100644 --- a/share/www/index.html +++ b/share/www/index.html @@ -34,7 +34,7 @@ specific language governing permissions and limitations under the License. this.updateSelection(location.pathname + "index.html"); }); } - var dbsPerPage = $.futon.storage.get("per_page"); + var dbsPerPage = parseInt($.futon.storage.get("per_page")); if (dbsPerPage) $("#perpage").val(dbsPerPage); $("#perpage").change(function() { page.updateDatabaseListing(); -- cgit v1.2.3