Commit 76c16546 authored by Bruno Ribas's avatar Bruno Ribas

Fix Table ID (TID) to work with javascript cookies

Before, we were using any RANDOM value to TID, but this is not good as
javascript wants to remember last columns selected so we must use same
names during www generations.
Signed-off-by: default avatarBruno Ribas <ribas@c3sl.ufpr.br>
parent 8112dd45
......@@ -68,7 +68,7 @@ function generatecolumnnames()
function starttable()
{
TID=$RANDOM
TID="$(tr -d ' ' <<<$1)"
echo "<div class=\"table_bar\" id=\"${TID}_bar\">
<h3><a href=\"javascript:table_expand('${TID}');\" id=\"${TID}_expand\">
<img src=\"img/expandUP.jpg\" /></a> $1</h3>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment