summaryrefslogtreecommitdiffstats
path: root/frontends/php/popup_gitem.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-22 15:12:52 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-22 15:12:52 +0000
commit67caec0a308312b19cc85f6c09e482d717c0f252 (patch)
tree5566dedd907341525bfa9f8c595812d69ab67033 /frontends/php/popup_gitem.php
parenteb9c8c4c00ab339b6e105b35d65f3c99dc5cb677 (diff)
downloadzabbix-67caec0a308312b19cc85f6c09e482d717c0f252.tar.gz
zabbix-67caec0a308312b19cc85f6c09e482d717c0f252.tar.xz
zabbix-67caec0a308312b19cc85f6c09e482d717c0f252.zip
- improved JS supporting for IE
git-svn-id: svn://svn.zabbix.com/trunk@3909 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/popup_gitem.php')
-rw-r--r--frontends/php/popup_gitem.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/popup_gitem.php b/frontends/php/popup_gitem.php
index 7e7916bc..e4ebe329 100644
--- a/frontends/php/popup_gitem.php
+++ b/frontends/php/popup_gitem.php
@@ -80,7 +80,7 @@ function add_graph_item(formname,itemid,color,drawtype,sortorder,yaxisside,calc_
if(!form)
{
- window.close();
+ close_window();
return false;
}
@@ -94,7 +94,7 @@ function add_graph_item(formname,itemid,color,drawtype,sortorder,yaxisside,calc_
add_var_to_opener_obj(form,'new_graph_item[periods_cnt]',periods_cnt);
form.submit();
- window.close();
+ close_window();
return true;
}
@@ -104,7 +104,7 @@ function update_graph_item(formname,list_name,gid,itemid,color,drawtype,sortorde
if(!form)
{
- window.close();
+ close_window();
return false;
}
@@ -118,7 +118,7 @@ function update_graph_item(formname,list_name,gid,itemid,color,drawtype,sortorde
add_var_to_opener_obj(form,list_name + '[' + gid + '][periods_cnt]',periods_cnt);
form.submit();
- window.close();
+ close_window();
return true;
}
-->