Dotclear

Changeset 1920:0bddb3c72fe9


Ignore:
Timestamp:
09/16/13 22:23:35 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Cope with more than one client ! Thank's lipki for patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/meta-editor.js

    r1819 r1920  
    146146               var pl = $('<p class="addMeta"></p>'); 
    147147                
    148                $('.addMeta').remove(); 
     148               $(target).find('.addMeta').remove(); 
    149149                
    150150               if ($(data).find('meta').length > 0) { 
     
    183183                         var a = $('<a href="#" class="metaGetList">' + This.text_choose + '</a>'); 
    184184                         a.click(function() { 
    185                               $('.addMeta').removeClass('hide'); 
    186                               $('.metaGetList').remove(); 
     185                              $(this).parent().next().removeClass('hide'); 
     186                              $(this).remove(); 
    187187                              return false; 
    188188                         }); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map