Conflicts with other ajax plugins
-
Hi,
Most of time below code is Conflicts with other plugin,
For resolve this problem please see below.
The code is in admin_script.js:/******************* Code **********************/ // Widget Saved $(document).ajaxSuccess(function(e, xhr, settings) { // reset toggles - clean view $('.secrets > div, .avatar > div, .twitterFollow > div, .modTime > div, .twitterIntents > div').slideUp(); $('.secrets h4 > span, .avatar h4 > span, .twitterFollow h4 > span, .modTime h4 > span, .twitterIntents h4 > span').html("▼"); // re-initiate the colour picker if(settings.data.search('action=save-widget') != -1 ) { $('.intentColor .wp-picker-container').remove(); updateColorPicker(); } }); // END AJAX success /***************** End code ********************/
The new code is :
/******************* Code **********************/ // Widget Saved $(document).ajaxSuccess(function(e, xhr, settings) { // reset toggles - clean view $('.secrets > div, .avatar > div, .twitterFollow > div, .modTime > div, .twitterIntents > div').slideUp(); $('.secrets h4 > span, .avatar h4 > span, .twitterFollow h4 > span, .modTime h4 > span, .twitterIntents h4 > span').html("▼"); // re-initiate the colour picker if(typeof(settings.data.search) != "undefined"){ if(settings.data.search('action=save-widget') != -1 ) { $('.intentColor .wp-picker-container').remove(); updateColorPicker(); } } }); // END AJAX success /***************** End code ********************/
Thanks
- The topic ‘Conflicts with other ajax plugins’ is closed to new replies.