1
0
Fork 0

removed some local storage functions

This commit is contained in:
Heiko Kernbach 2014-08-20 11:29:18 +02:00
parent ddb6155870
commit bdbdaaf0bf
1 changed files with 0 additions and 12 deletions

View File

@ -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);