2012-12-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Resize URL item report to make it taller. Merged from branches. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
57ab72b1a7
commit
8b36e399cf
|
@ -1,3 +1,10 @@
|
|||
2012-12-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Resize URL item report to make it
|
||||
taller.
|
||||
|
||||
Merged from branches.
|
||||
|
||||
2012-12-18 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/ajax/events.php
|
||||
|
|
|
@ -3122,9 +3122,10 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
|
|||
$data = array();
|
||||
$table->colspan[2][0] = 3;
|
||||
$data[0] = '<iframe id="item_' . $content['id_rc'] . '" src ="' . $content["external_source"] . '" width="100%" height="100%"></iframe>';
|
||||
// TODO: make this dynamic and get the height if the iframe to resize this item
|
||||
$data[0] .= '<script>
|
||||
$(document).ready (function () {
|
||||
$("#item_' . $content['id_rc'] . '").height($(document.body).height() + 0);
|
||||
$("#item_' . $content['id_rc'] . '").height(500);
|
||||
});</script>';
|
||||
|
||||
array_push ($table->data, $data);
|
||||
|
|
Loading…
Reference in New Issue