Skip to content

Commit

Permalink
Merge pull request domoticz#906 from RaymondNg2/master
Browse files Browse the repository at this point in the history
This fixes the problem that the 'More Options' closes on click.
  • Loading branch information
gizmocuz authored Oct 13, 2016
2 parents 7ba3d7a + f5d50b9 commit a7ff550
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/html5.appcache
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CACHE MANIFEST
# ref 1299
# ref 1300

CACHE:
# CSS
Expand Down
8 changes: 7 additions & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<script type="text/javascript" charset="utf-8" src="js/domoticz.js"></script>
<script type="text/javascript" charset="utf-8" src="js/domoticzdevices.js"></script>
<script type="text/javascript" charset="utf-8" src="js/jquery-ui-timepicker-addon.js"></script>

<script data-main="app/main" src="js/require.js"></script>
<script type="text/javascript" charset="utf-8" id="init-code">

Expand Down Expand Up @@ -368,6 +368,12 @@
$.myglobals.historytype=1;
SwitchLayout('History');
});

$('a#cMoreOptions').click(function(e) {
e.preventDefault();
e.stopPropagation();
$('a#cMoreOptions').trigger('mouseenter');
});

//Highcharts.getOptions().exporting.buttons.contextButton.menuItems.push({
// text: 'Download CSV',
Expand Down

0 comments on commit a7ff550

Please sign in to comment.