2009-10-17 Miguel de Dios <miguel.dedios@artica.es>

* godmode/alerts/alert_list.php: set default action in alert combo box when
	you make a new alert.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-10-17 14:20:25 +00:00
parent 4290454d15
commit c6284efdb9
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2009-10-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: set default action in alert combo box when
you make a new alert.
2009-10-16 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes.

View File

@ -443,11 +443,6 @@ if (! $id_agente) {
$table->data['agent'][1] = print_input_text_extended ('id_agent', __('Select'), 'text_id_agent', '', 30, 100, false, '',
array('style' => 'background: url(images/lightning.png) no-repeat right;'), true)
. '<a href="#" class="tip">&nbsp;<span>' . __("Type two chars at least for search") . '</span></a>';
// $table->data['agent'][1] = print_select (get_group_agents (array_keys ($groups), false, "none"), 'id_agent', 0, false, __('Select'), 0, true);
// $table->data['agent'][1] .= ' <span id="agent_loading" class="invisible">';
// $table->data['agent'][1] .= '<img src="images/spinner.gif" />';
// $table->data['agent'][1] .= '</span>';
}
$table->data[0][0] = __('Module');
@ -740,6 +735,10 @@ $(document).ready (function () {
option = $("<option></option>")
.attr ("value", val["id"])
.append (val["name"]);
if (val["sort_order"] == 1)
option.attr ("selected", true);
$("#action_select").append (option);
});
}