From 65a537ead41a87acd036a4b34b174a48c9a9c303 Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 9 Apr 2007 03:15:16 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1038 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/components/poll_maker/tpl/popup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/editor/components/poll_maker/tpl/popup.js b/modules/editor/components/poll_maker/tpl/popup.js index bfd451ff0..7b6bf8030 100644 --- a/modules/editor/components/poll_maker/tpl/popup.js +++ b/modules/editor/components/poll_maker/tpl/popup.js @@ -8,7 +8,9 @@ function setPoll() { if(node && node.getAttribute('editor_component')=='poll_maker') { alert(msg_poll_cannot_modify); window.close(); + return; } + var obj = xCreateElement("div"); var source = xGetElementById("poll_source");