Store browser height and width in session using ajax call

Modify html/includes/print-graphrow.inc.php to make use of the new Session variable
This commit is contained in:
Louis Bailleul
2015-11-19 13:39:32 +00:00
parent 9bf3665706
commit fc9f7eade8
3 changed files with 24 additions and 0 deletions

View File

@ -155,3 +155,7 @@ $(document).on("click", '.collapse-neighbors', function(event)
continued.toggle();
});
$(function() {
$.post('ajax_setresolution.php', { width: $(window).width() , height:$(window).height() }, function(json) {
},'json');
});