Google Groups

Re: [jbs] Suggestion for 30 if is not to late


Dan YJ Sep 12, 2012 9:51 AM
Posted in group: Archived Joomla! Bug Squad Discussions
Submitted

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=29152 

On Wednesday, September 12, 2012 12:39:01 PM UTC-4, Dan YJ wrote:
Sure will do , added  solution from
 since by default the cookie plugin for jq was not included  

included 

and 


(function($) {
$(document).ready(function() {
$('a[data-toggle="tab"]').on('shown', function(e){
//save the latest tab using a cookie:
$.cookie('last_tab', $(e.target).attr('href'));
 });
console.log($.cookie('last_tab'));
 //activate latest tab, if it exists:
 var lastTab = $.cookie('last_tab');
 if (lastTab) {
 $('ul.nav-tabs').children().removeClass('active');
 $('a[href='+ lastTab +']').parents('li:first').addClass('active');
 $('div.tab-content').children().removeClass('active');
 $(lastTab).addClass('active');
 }
});
})(jQuery)

works likecharm

On Wednesday, September 12, 2012 12:33:30 PM UTC-4, Rouven Weßling wrote:
I think that's a regression. Could you add that to the tracker?

Rouven

On 12.09.2012, at 15:33, Dan YJ <nocni...@gmail.com> wrote:

I hope this will be in 30 stable  but if it is not please advise if it can still be added , 
in all prev joomla versions in any admin settings  you go there were cookies on save that keep either your current  tab or accordion open so you can continue to edit the settings
in 30 it is simply to much to go trough all tabs and scrolls again and again once you hit save, especially template manager

--
You received this message because you are subscribed to the Google Groups "Joomla! bug Squad" group.
To view this discussion on the web visit https://groups.google.com/d/msg/joomlabugsquad/-/j0K61YMwB4cJ.
To post to this group, send email to joomlab...@googlegroups.com.
To unsubscribe from this group, send email to joomlabugsqua...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomlabugsquad?hl=en.