Commit 2edaae40 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

revert using delay because its behaviour is sometimes bad (displaying several popups).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26737 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e4f40ad
...@@ -28,13 +28,9 @@ ...@@ -28,13 +28,9 @@
<item> <item>
<key> <string>raw</string> </key> <key> <string>raw</string> </key>
<value> <string>function showPopik(dom_id, what, delay){\n <value> <string>function showPopik(dom_id, what, delay){\n
if (delay == null){\n
delay = 500;\n
}\n
obj = getElement(dom_id);\n obj = getElement(dom_id);\n
if(what==true){\n if(what==true){\n
setTimeout(function() {obj.style.display=\'block\';}, delay)\n obj.style.display=\'block\';}\n
}\n
else{\n else{\n
obj.style.display=\'none\';}\n obj.style.display=\'none\';}\n
}\n }\n
......
801 802
\ 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