Commit cd5560e1 authored by Romain Loth's avatar Romain Loth

minor fixes when no selection

parent f73386cf
...@@ -989,6 +989,10 @@ var TinaWebJS = function ( sigmacanvas ) { ...@@ -989,6 +989,10 @@ var TinaWebJS = function ( sigmacanvas ) {
selInst.MultipleSelection2( {nodes:targeted} ) selInst.MultipleSelection2( {nodes:targeted} )
} }
} }
// or clear previous selection
else {
cancelSelection(false)
}
} }
// case with a selector circle cursor handled // case with a selector circle cursor handled
// just before, at click event // just before, at click event
......
...@@ -305,7 +305,7 @@ function cancelSelection (fromTagCloud, settings) { ...@@ -305,7 +305,7 @@ function cancelSelection (fromTagCloud, settings) {
TW.gui.selectionActive = false TW.gui.selectionActive = false
// hide all selection panels // hide all selection panels
if(fromTagCloud==false){ if(!fromTagCloud){
// POSS give them all a common class // POSS give them all a common class
$("#names").html(""); $("#names").html("");
$("#topPapers").html(""); $("#topPapers").html("");
......
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