diff options
author | Urban Müller | 2018-09-01 17:14:17 +0200 |
---|---|---|
committer | Urban Müller | 2018-09-01 17:14:17 +0200 |
commit | 6d573b3fc360467ba8f8e8bf7dc4beaebda1249f (patch) | |
tree | ce69ed9b4af4832c80336b386c3917f2f26a4a78 /itjs/state.html | |
parent | 9c3110300c69ab07859318c160154b6d7aa380d1 (diff) | |
download | itools-6d573b3fc360467ba8f8e8bf7dc4beaebda1249f.tar.gz itools-6d573b3fc360467ba8f8e8bf7dc4beaebda1249f.tar.bz2 itools-6d573b3fc360467ba8f8e8bf7dc4beaebda1249f.zip |
nobody uses use_it_state anymore
Diffstat (limited to 'itjs/state.html')
-rw-r--r-- | itjs/state.html | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/itjs/state.html b/itjs/state.html deleted file mode 100644 index 36f36c0..0000000 --- a/itjs/state.html +++ /dev/null @@ -1,31 +0,0 @@ -<?php header("Cache-Control: max-age=3600"); -return <<<EOF -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> -<html> -<head> -<title></title> -<script type="text/javascript"> -var state_load_attempts = 0; -function state_onload() -{ - if (state_load_attempts < 30) - { - state_load_attempts++; - if (parent.it_state && parent.it_state.ready) - parent.setTimeout(parent.it_state_restore_history, 1); - else - window.setTimeout(state_onload, 90); - } - window[(document.all?'onbeforeunload':'onunload')] = state_onbeforeunload; -} -function state_onbeforeunload() -{ - if (parent.it_state && !parent.it_state.it_state_saved) - parent.it_state.store_state(); -} -</script> -</head> -<body onload="state_onload()"><form action="/itjs/state.html" method="get"><input type="hidden" id="state" name="s" value=""></form></body> -</html> -EOF -?> |