Commit 1683883d authored by Romain Loth's avatar Romain Loth

[FEAT] graphexplorer: SHIFT key equivalent to 'add' checkbox

parent c78a5af0
...@@ -86,7 +86,14 @@ function CRUD( list_id , ngram_ids , http_method , callback) { ...@@ -86,7 +86,14 @@ function CRUD( list_id , ngram_ids , http_method , callback) {
} }
// general listener: shift key in the window <=> add to selection
$(document).on('keyup keydown', function(e){
// changes the global boolean ("add node to selection" status) if keydown and SHIFT
checkBox = e.shiftKey
// show it in the real checkbox too
$('#checkboxdiv').prop("checked", e.shiftKey)
} );
// = = = = = = = = = = = [ Clusters Plugin ] = = = = = = = = = = = // // = = = = = = = = = = = [ Clusters Plugin ] = = = = = = = = = = = //
...@@ -982,6 +989,7 @@ function camaraButton(){ ...@@ -982,6 +989,7 @@ function camaraButton(){
}); });
} }
function getTips(){ function getTips(){
console.log('FUN extras_explorerjs:getTips') console.log('FUN extras_explorerjs:getTips')
param=''; param='';
......
...@@ -510,6 +510,7 @@ TinaWebJS = function ( sigmacanvas ) { ...@@ -510,6 +510,7 @@ TinaWebJS = function ( sigmacanvas ) {
} }
} }
}); });
} }
// external usage: SelectorEngine*() , MultipleSelection2() , // external usage: SelectorEngine*() , MultipleSelection2() ,
...@@ -522,7 +523,6 @@ TinaWebJS = function ( sigmacanvas ) { ...@@ -522,7 +523,6 @@ TinaWebJS = function ( sigmacanvas ) {
$("#closeloader").click(); $("#closeloader").click();
$('.etabs').click(function(){ $('.etabs').click(function(){
$.doTimeout(500,function () { $.doTimeout(500,function () {
$("#opossiteNodes").readmore({maxHeight:200}); $("#opossiteNodes").readmore({maxHeight:200});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment