enabled resizing of plot
This commit is contained in:
parent
2c02c287ee
commit
9b30b6645e
2 changed files with 9 additions and 7 deletions
|
@ -40,7 +40,7 @@
|
|||
<div id="content">
|
||||
<div id="plot">
|
||||
<div id="flot"></div>
|
||||
<div id="overlay">Test</div>
|
||||
<div id="overlay"></div>
|
||||
</div>
|
||||
|
||||
<div id="accordion">
|
||||
|
@ -87,7 +87,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><label for="refresh"><img src="images/arrow_refresh.png" alt="" /> Automatisch aktualisieren (ms)</label></td>
|
||||
<td><label for="refresh"><img src="images/arrow_refresh.png" alt="" /> Automatisch aktualisieren</label></td>
|
||||
<td><input type="checkbox" id="refresh" /></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
|
|
@ -58,6 +58,13 @@ if ($.getUrlVar('debug')) {
|
|||
// executed on document loaded complete
|
||||
// this is where it all starts...
|
||||
$(document).ready(function() {
|
||||
$(window).unload(function() {
|
||||
vz.uuids.save();
|
||||
vz.options.save();
|
||||
});
|
||||
|
||||
$(window).resize(vz.drawPlot);
|
||||
|
||||
// parse uuids & options from cookie
|
||||
vz.uuids.load();
|
||||
//vz.options.load();
|
||||
|
@ -79,8 +86,3 @@ $(document).ready(function() {
|
|||
vz.definitions.load();
|
||||
vz.entities.loadDetails();
|
||||
});
|
||||
|
||||
$(window).unload(function() {
|
||||
vz.uuids.save();
|
||||
vz.options.save();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue