summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-02 13:27:24 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-06-02 13:27:24 +0000
commit27187bf82da381f0bdcbbbb5ed0035e1f452b2d9 (patch)
tree7a421f9394aab37d50e7c69c603f2c936fcbf47a /frontends/php/include/forms.inc.php
parent0d30044095daad18ca138d0e6ba45f903afeb141 (diff)
downloadzabbix-27187bf82da381f0bdcbbbb5ed0035e1f452b2d9.tar.gz
zabbix-27187bf82da381f0bdcbbbb5ed0035e1f452b2d9.tar.xz
zabbix-27187bf82da381f0bdcbbbb5ed0035e1f452b2d9.zip
- [DEV-171] fix to form (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5744 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index eb97d6de..88d200dc 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -2863,6 +2863,10 @@
$tblAct->AddRow(array(S_RECOVERY_SUBJECT, new CTextBox('r_shortdata', $r_shortdata, 50)));
$tblAct->AddRow(array(S_RECOVERY_MESSAGE, new CTextArea('r_longdata', $r_longdata,50,5)));
}
+ else{
+ $tblAct->AddItem(new CVar('r_shortdata', $r_shortdata));
+ $tblAct->AddItem(new CVar('r_longdata', $r_longdata));
+ }
}
else{
unset($_REQUEST['recovery_msg']);
@@ -3446,8 +3450,8 @@
$tblNewOperation->AddRow(array(S_MESSAGE, new CTextArea('new_operation[longdata]', $new_operation['longdata'],77,7)));
}
else{
- $tblOper->AddItem(new CVar('new_operation[shortdata]',''));
- $tblOper->AddItem(new CVar('new_operation[longdata]',''));
+ $tblOper->AddItem(new CVar('new_operation[shortdata]',$new_operation['shortdata']));
+ $tblOper->AddItem(new CVar('new_operation[longdata]',$new_operation['longdata']));
}
break;
case OPERATION_TYPE_COMMAND: