? Success

User tests: Successful: Unsuccessful:

avatar shanginn
shanginn
21 Apr 2016

Pull Request for Issue # .

Summary of Changes

I have modified this code to keep tracks of all active tabs, when there is nested tabs present.
For example, if you making changes in some category and you navigate to the Rules tab there will be another tab set inside with Groups. With previous code only last clicked tab is saved to local storage.
So if you clicked Rules tab in the local storage will be "#rules", but when you click some Group this "#rules" will be overtighten by, for example, "#permission-1" and next time you reload the page your Rules tab will not be active.
With this code all active tabs will be tracked and saved to local storage.

Testing Instructions

Create a category in Articles manager, click Rules, click Public. Reload the page and there you have it: Rules and Public both open.

avatar shanginn shanginn - open - 21 Apr 2016
avatar shanginn shanginn - change - 21 Apr 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 21 Apr 2016
Category JavaScript
avatar killoltailored
killoltailored - comment - 8 Jul 2016

Please provide more information regarding where can find "RULES" option in Article Manager


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10026.

avatar brianteeman
brianteeman - comment - 8 Jul 2016

I think he means permissions


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10026.

avatar AnishaTailored AnishaTailored - test_item - 11 Jul 2016 - Tested successfully
avatar AnishaTailored
AnishaTailored - comment - 11 Jul 2016

I have tested this item successfully on 5a58379


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10026.

avatar rahultomar rahultomar - test_item - 11 Jul 2016 - Tested successfully
avatar rahultomar
rahultomar - comment - 11 Jul 2016

I have tested this item successfully on 5a58379

Just followed the steps given and it tested successfully


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10026.

avatar killoltailored killoltailored - test_item - 11 Jul 2016 - Tested successfully
avatar killoltailored
killoltailored - comment - 11 Jul 2016

I have tested this item successfully on 5a58379

Tested successfully with Joomla Version: Joomla! 3.6.0-rc Release Candidate [ Noether ] 28-June-2016 20:34 GMT


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10026.

avatar gunjanpatel gunjanpatel - change - 12 Jul 2016
Status Pending Ready to Commit
avatar roland-d
roland-d - comment - 16 Jul 2016

@shanginn Can you please fix the conflicts? Thank you.

avatar joomla-cms-bot joomla-cms-bot - change - 16 Jul 2016
Labels Added: ?
avatar roland-d roland-d - change - 16 Jul 2016
Milestone Added:
avatar shanginn
shanginn - comment - 18 Jul 2016

@killoltailored, yeah, I meant permissions.
@roland-d, I'm sorry, but I don't know where I can find conflicts. It's my first pull-request experience.
It says

This branch has conflicts that must be resolved
Only those with write access to this repository can merge pull requests.

If you could, provide some more information please, it'll be my pleasure to contribute.

avatar roland-d
roland-d - comment - 18 Jul 2016

@shanginn

I'm sorry, but I don't know where I can find conflicts.

No problem, let me try to help you. If you are familiar with GIT, the easiest way to find out the conflicts is to merge the staging branch into your patch-1 branch.

If you are not familiar with GIT, the easiest is to make a new pull request and reference this one.

Let me know if you need any further help.

avatar shanginn
shanginn - comment - 18 Jul 2016

Thank you for the reply. But I don't really know, if I did it right. please, correct me, if there is something wrong.

avatar roland-d
roland-d - comment - 18 Jul 2016

@shanginn The pull request is all good now. The conflicts are resolved. We just need to get the people to test again.

avatar wilsonge wilsonge - close - 27 Jul 2016
avatar wilsonge wilsonge - merge - 27 Jul 2016
avatar joomla-cms-bot joomla-cms-bot - close - 27 Jul 2016
avatar wilsonge wilsonge - change - 27 Jul 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-07-27 09:30:36
Closed_By wilsonge
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jul 2016
Category JavaScript
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jul 2016
Labels Removed: ?
avatar Devportobello
Devportobello - comment - 29 Sep 2016

About third party, any code using localStorage.getItem('tab-href') is now broken !
More over, now if i need to know the active tab, i need first to JSON.parse then take the last value .pop().
active-tabs hold the history of clicked tabs, so if we take for example the content components, if you click 20 times tabs then reload, script will show/hide step by step tabs... what about performance ?

avatar zero-24
zero-24 - comment - 29 Sep 2016

Please open a new bug report with all needed information. Commenting on a closed / merged PR get missed fast. Thanks

Add a Comment

Login with GitHub to post a comment