projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unescaping session before comparing.
[pazpar2-moved-to-github.git]
/
www
/
test1
/
index.html
diff --git
a/www/test1/index.html
b/www/test1/index.html
index
d6d548c
..
f273f66
100644
(file)
--- a/
www/test1/index.html
+++ b/
www/test1/index.html
@@
-338,8
+338,8
@@
function session_restore (session)
for (i = 1; i < fields.length; i++)
{
var pair = fields[i].split(/=/);
for (i = 1; i < fields.length; i++)
{
var pair = fields[i].split(/=/);
- var key = pair[0];
- var value = pair[1];
+ var key = pair.shift();
+ var value = pair.join('=');
var cell = document.getElementById(key);
cell.value = value;
var cell = document.getElementById(key);
cell.value = value;
@@
-365,7
+365,7
@@
function update_history ()
{
var session = session_encode();
session_store(session);
{
var session = session_encode();
session_store(session);
- old_session= session;
+ old_session = session;
}
}
@@
-375,7
+375,7
@@
function session_check ()
clearInterval(url_surveillence);
clearInterval(url_surveillence);
- if ( session != old_session )
+ if ( session != unescape(old_session) )
{
session_restore(session);
start_search();
{
session_restore(session);
start_search();