Browse Source

Anomalie #465: tags list: bug click

Sevajol Bastien 12 years ago
parent
commit
b16c1d04c4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      web/bundles/muzichcore/js/muzich.js

+ 4 - 0
web/bundles/muzichcore/js/muzich.js View File

306
   $('ul.element_tags li a.element_tag').live('click', function(){
306
   $('ul.element_tags li a.element_tag').live('click', function(){
307
     // Si il y a une liste de tags (comme sur la page favoris, profil)
307
     // Si il y a une liste de tags (comme sur la page favoris, profil)
308
     var id;
308
     var id;
309
+    
310
+    // On initialise la liste de tags déjà ajouté
311
+    tagsAddeds['search'] = new Array;
312
+    
309
     if ($('ul#favorite_tags').length)
313
     if ($('ul#favorite_tags').length)
310
     {
314
     {
311
       id = str_replace('element_tag_', '', $(this).attr('id'));
315
       id = str_replace('element_tag_', '', $(this).attr('id'));