Aug 022013
04.08.2013 at 07:32. – My previous patch and the theme update don’t take in account that the new method which replaced the ‘select’ method need an index for selecting correctly. As result, the changes are saved, but after that will return to the first screen of options. I ended to make another 2 changes in suffusion/admin/js/admin.js file:
I added a new function:
I changed the line of $tabs.tabs with:
Can download this new patch from the bottom of this page
I added a new function:
1 |
$j.fn.tabIndex = function () { return $j(this).parent().find(this).index() - 2; }; |
I changed the line of $tabs.tabs with:
1 |
$tabs.tabs('option', 'active', $j('#' + selected_category).tabIndex()); |
Can download this new patch from the bottom of this page
03.08.2013 at 13:00 – Suffusion 4.4.7 – which address the issue – was released and can be downloaded from repository – Please update the theme
If you upgrade WordPress to version 3.6. will notice that Suffusion cannot save anymore the changes in options.
This is because the new version of jQuery UI used in this update (1.10.3) don’t have a “select” method for tabs, and this method was used in backend of Suffusion for Save/Reset button tabs.
For solving the problem, need to open /suffusion/admin/js/admin.js in a text editor, look for the line:
1 |
$tabs.tabs('select', '#' + selected_category); |
and replace it with:
1 |
$tabs.tabs('option', 'active', '#' + selected_category); |
After that Suffusion will works as expected.
Can download the modified file from here:
Download New Patched admin.js for Suffusion (downloaded for 840 times)