diff -r eb52a12370a3 -r afd60399a7b5 front_idill/src/search/js/curvesDetector.js --- a/front_idill/src/search/js/curvesDetector.js Tue Jul 24 16:35:10 2012 +0200 +++ b/front_idill/src/search/js/curvesDetector.js Thu Jul 26 14:34:02 2012 +0200 @@ -207,10 +207,17 @@ this.mosaic.curvesGestures(foundGestures); //Si ce qu'on a trouvé est vide et si l'aide n'est pas affichée. - if(foundGestures.length == 0 && !this.mosaic.helpDisplayed) + if(foundGestures.length == 0 && !this.mosaic.helpDisplayed && this.mosaic.mouseInteractions) { - //On l'affiche. - this.mosaic.notifyHelp(); + //On affiche différentes aides en fonction de si on se trouve dans une vidéo ou non. + if(this.mosaic.currentMode == 'SEARCH') + { + this.mosaic.notifyHelp(false); + } + else if(this.mosaic.currentMode == 'FILTER') + { + this.mosaic.notifyHelp(true); + } foundGestures = ''; //On enlève la recherche.