Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(document).ajaxSuccess(function(evt, request, settings) {
- if(typeof settings === 'undefined' || typeof settings.data === 'undefined') return;
- if(settings.data.search('action=add-tag') != -1 || settings.data.search('action=delete-tag') != -1 ){
- jQuery('#icl_subsubsub').load(location.href + ' #icl_subsubsub', function(resp){
- var p1 = resp.indexOf('<span id="icl_subsubsub">');
- var p2 = resp.indexOf('<\\/span>', p1);
- jQuery('#icl_subsubsub').html(resp.substr(p1+25, p2-p1-25).replace(/\\/g, ''));
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement