Commit 94c35bd2 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove tags when it is not displayed anymore

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b9049dcc
......@@ -179,6 +179,7 @@ $(document).ready(function() { \n
$("#caltoolbar").noSelect();\n
//to show day view\n
$("#showdaybtn").click(function(e) {\n
$("div.toolbar-listview, div.event-listview").remove();\n
$("#caltoolbar div.fcurrent").each(function() {\n
$(this).removeClass("fcurrent");\n
})\n
......@@ -188,6 +189,7 @@ $(document).ready(function() { \n
});\n
//to show week view\n
$("#showweekbtn").click(function(e) {\n
$("div.toolbar-listview, div.event-listview").remove();\n
$("#caltoolbar div.fcurrent").each(function() {\n
$(this).removeClass("fcurrent");\n
})\n
......@@ -197,7 +199,7 @@ $(document).ready(function() { \n
});\n
//to show month view\n
$("#showmonthbtn").click(function(e) {\n
//document.location.href="#month";\n
$("div.toolbar-listview, div.event-listview").remove();\n
$("#caltoolbar div.fcurrent").each(function() {\n
$(this).removeClass("fcurrent");\n
})\n
......@@ -325,6 +327,8 @@ $(document).ready(function() { \n
op.view = "day";\n
$("#gridcontainer").bcalendar(op).BcalGetOp();\n
});\n
$("div#gridcontainer").css("height", \n
$("div#gridcontainer table tbody tr").length*$("div.event-listview tr").height() + "px");\n
},\n
});\n
tableList.push("</tbody></table></div>");\n
......
222
\ No newline at end of file
223
\ No newline at end of file
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