瀏覽代碼

Anomalie #465: tags list: bug click

Sevajol Bastien 12 年之前
父節點
當前提交
b16c1d04c4
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      web/bundles/muzichcore/js/muzich.js

+ 4 - 0
web/bundles/muzichcore/js/muzich.js 查看文件

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'));