Commit ab54f728 authored by Gabriel Monnerat's avatar Gabriel Monnerat

add code to remove tag if exists

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44539 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9967e791
...@@ -273,6 +273,9 @@ $(document).ready(function() { \n ...@@ -273,6 +273,9 @@ $(document).ready(function() { \n
$("div#dvCalMain.calmain div#gridcontainer").css("background", "none repeat scroll 0 0 #FFFFFF");\n $("div#dvCalMain.calmain div#gridcontainer").css("background", "none repeat scroll 0 0 #FFFFFF");\n
$("div#dvwkcontaienr.wktopcontainer").remove();\n $("div#dvwkcontaienr.wktopcontainer").remove();\n
$("div#gridcontainer div#dvtec.scolltimeevent").remove();\n $("div#gridcontainer div#dvtec.scolltimeevent").remove();\n
if (document.getElementById("blank-result") != null){\n
$("div#blank-result").remove();\n
}\n
$("div#gridcontainer div.event-listview,div#gridcontainer div.toolbar-listview").remove();\n $("div#gridcontainer div.event-listview,div#gridcontainer div.toolbar-listview").remove();\n
var tableList = Array();\n var tableList = Array();\n
tableList.push("<div class=\'toolbar-listview\'>",\n tableList.push("<div class=\'toolbar-listview\'>",\n
...@@ -331,9 +334,9 @@ $(document).ready(function() { \n ...@@ -331,9 +334,9 @@ $(document).ready(function() { \n
$("div#gridcontainer").css("height", \n $("div#gridcontainer").css("height", \n
$("div#gridcontainer table tbody tr").length*$("div.event-listview tr").height() + "px");\n $("div#gridcontainer table tbody tr").length*$("div.event-listview tr").height() + "px");\n
} else {\n } else {\n
$("div#gridcontainer")\n $("div#gridcontainer")\n
.css("height", "54px")\n .css("height", "54px")\n
.append("No Results");\n .append("<div id=\'blank-result\'>No Results</div>");\n
}\n }\n
},\n },\n
});\n });\n
......
313 314
\ No newline at end of file \ 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