From: Dale S. <dal...@co...> - 2007-01-15 18:43:23
|
popup.php wasn't working for displaying the different possible item keys. I tracked it down to the itemtype variable being removed when the form is submitted. Patch below, I just duplicated some of the above lines so someone will want to check and make sure I got the parameters right. (I hope this is the right place to send patches to? Please correct me if not.) Dale --- popup.php.orig 2007-01-13 21:18:57.000000000 -0500 +++ popup.php 2007-01-13 21:18:12.000000000 -0500 @@ -94,6 +94,7 @@ "nodeid"=> array(T_ZBX_INT, O_OPT, null, DB_ID, NULL), "groupid"=> array(T_ZBX_INT, O_OPT, null, DB_ID, NULL), "hostid"=> array(T_ZBX_INT, O_OPT, null, DB_ID, NULL), + "itemtype"=> array(T_ZBX_INT, O_OPT, null, DB_ID, NULL), "templates"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY, NULL), "existed_templates"=> array(T_ZBX_STR, O_OPT, null, NOT_EMPTY, NULL), "only_hostid"=> array(T_ZBX_INT, O_OPT, null, DB_ID, NULL), |