temp. Added multiple selection with ctrl. Not finished.

This commit is contained in:
Oleg Sh
2020-05-04 20:28:57 +02:00
parent 583cb024a1
commit 42c592fe2f
4 changed files with 122 additions and 29 deletions

View File

@@ -26,6 +26,7 @@ var isIe = (navigator.userAgent.toLowerCase().indexOf("msie") != -1
|| navigator.userAgent.toLowerCase().indexOf("trident") != -1);
var buttonsList = ['AddGraph', 'ConnectGraphs', 'DeleteObject', 'Default'];
var g_ctrlPressed = false;
function restButtons (me)
{
@@ -289,6 +290,15 @@ function postLoadPage()
selectHandler('Default', 'default');
}
}
$(document).keydown(function(event) {
if (event.which == "17")
g_ctrlPressed = true;
});
$(document).keyup(function() {
g_ctrlPressed = false;
});
document.getElementById('ShowAdjacencyMatrix').onclick = function ()
{