From bdbdaaf0bf3f70c487709d1af75b079605c4074e Mon Sep 17 00:00:00 2001 From: Heiko Kernbach Date: Wed, 20 Aug 2014 11:29:18 +0200 Subject: [PATCH] removed some local storage functions --- .../system/aardvark/frontend/js/views/queryView.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/apps/system/aardvark/frontend/js/views/queryView.js b/js/apps/system/aardvark/frontend/js/views/queryView.js index cbf8521173..98a828b3bb 100644 --- a/js/apps/system/aardvark/frontend/js/views/queryView.js +++ b/js/apps/system/aardvark/frontend/js/views/queryView.js @@ -182,11 +182,6 @@ this.$(this.id).html(this.table.render({content: this.tableDescription})); // fill select box with # of results var querySize = 1000; - if (typeof Storage) { - if (localStorage.getItem("querySize") > 0) { - querySize = parseInt(localStorage.getItem("querySize"), 10); - } - } var sizeBox = $('#querySize'); sizeBox.empty(); @@ -250,13 +245,6 @@ $('#aqlEditor .ace_text-input').focus(); - if (typeof Storage) { - var queryContent = localStorage.getItem("queryContent"); - var queryOutput = localStorage.getItem("queryOutput"); - inputEditor.setValue(queryContent); - outputEditor.setValue(queryOutput); - } - var windowHeight = $(window).height() - 295; $('#aqlEditor').height(windowHeight - 19); $('#queryOutput').height(windowHeight);