Returned deleted code
This commit is contained in:
parent
3be96054c0
commit
d36b1c8c40
|
@ -405,3 +405,39 @@ $label = base64_decode(get_parameter('label', ''));
|
|||
});
|
||||
$('#checkbox-time_compare_overlapped').click(function() {
|
||||
$('#checkbox-time_compare_separated').removeAttr('checked');
|
||||
});
|
||||
|
||||
|
||||
<?php
|
||||
//Resize window when show the overview graph.
|
||||
if ($config['flash_charts']) {
|
||||
?>
|
||||
var show_overview = false;
|
||||
var height_window;
|
||||
var width_window;
|
||||
$(document).ready(function() {
|
||||
height_window = $(window).height();
|
||||
width_window = $(window).width();
|
||||
});
|
||||
|
||||
$("*").filter(function() {
|
||||
if (typeof(this.id) == "string")
|
||||
return this.id.match(/menu_overview_graph.*/);
|
||||
else
|
||||
return false;
|
||||
}).click(function() {
|
||||
if (show_overview) {
|
||||
window.resizeTo(width_window + 20, height_window + 50);
|
||||
}
|
||||
else {
|
||||
window.resizeTo(width_window + 20, height_window + 200);
|
||||
}
|
||||
show_overview = !show_overview;
|
||||
|
||||
});
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
forced_title_callback();
|
||||
</script>
|
Loading…
Reference in New Issue