Commit 2531270b authored by Christophe Dumez's avatar Christophe Dumez

- display "no changes" in DIV instead of an empty DIV when there are no changes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7121 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb39e693
...@@ -183,7 +183,27 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n ...@@ -183,7 +183,27 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n
\t if (ie4 || upLevel) {\n \t if (ie4 || upLevel) {\n
\t splash.style.visibility = "hidden";\n \t splash.style.visibility = "hidden";\n
}\n }\n
var sText = "<br><br><b><font color=\'black\'>No changes detected.<font/><b/>";\n
if (document.layers) {\n
//var oLayer;\n
//oLayer = document.layers[\'treebox1\'].document;\n
//oLayer.open();\n
//oLayer.write(sText);\n
//oLayer.close();\n
}\n
else if (parseInt(navigator.appVersion)>=5&&navigator.\n
appName=="Netscape") {\n
if(document.getElementById(\'treebox1\').innerHTML.indexOf(\'folder.png\') == -1){\n
document.getElementById(\'treebox1\').innerHTML = sText;\n
}\n
}\n
else if (document.all){\n
if(document.all[\'treebox1\'].innerHTML.indexOf(\'folder.png\') == -1){\n
document.all[\'treebox1\'].innerHTML = sText\n
}\n
}\n
\t}\n \t}\n
\n
doOnLoad()\n doOnLoad()\n
</script>\n </script>\n
</tal:block>\n </tal:block>\n
......
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