2010-04-28 Miguel de Dios <miguel.dedios@artica.es>

* godmode/reporting/reporting_builder.php: fixed the lost type in the edit
	item.

	* godmode/reporting/reporting_builder.item_editor.php: fixed the position of
	hidden input for id item, after it was out form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-04-28 16:06:32 +00:00
parent dc6cfe108d
commit b0f4d153e7
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: fixed the lost type in the edit
item.
* godmode/reporting/reporting_builder.item_editor.php: fixed the position of
hidden input for id item, after it was out form.
2010-04-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: fixed a mistake

View File

@ -42,7 +42,6 @@ switch ($action) {
default:
$actionParameter = 'update';
$item = get_db_row_filter('treport_content', array('id_rc' => $idItem));
print_input_hidden('id_item', $idItem);
//debugPrint($item);
$type = $item['type'];
switch ($type) {
@ -217,6 +216,7 @@ $intervals[7200] = human_time_description_raw (7200);
$urlForm = 'index.php?sec=greporting&sec2=godmode/reporting/reporting_builder&tab=item_editor&action=' . $actionParameter . '&id_report=' . $idReport;
echo '<form action="' . $urlForm . '" method="post">';
print_input_hidden('id_item', $idItem);
?>
<table style="" class="databox" id="" border="0" cellpadding="4" cellspacing="4" width="90%">
<tbody>

View File

@ -169,6 +169,7 @@ switch ($action) {
$values['id_gs'] = get_parameter('id_custom_graph');
$values['text'] = get_parameter('text');
$values['id_agent_module'] = get_parameter('id_agente_modulo');
$values['type'] = get_parameter('type', null);
if ($values['type'] == 'sql') {
$values['treport_custom_sql_id'] = get_parameter('id_custom');