How the 'Done' button works on a tabbed page


dlandon

Recommended Posts

I am trying to figure out how the 'Done' button can be setup to return to a specific tabbed page.  In particular I am working with the Recycle Bin plugin and when I am on the 'Shares' tab and browse a share recycle bin, I want to return to the 'Shares' tab when the 'Done' button is clicked.

 

Is there somewhere I can find documentation or code examples on how to do this?

Edited by dlandon
Link to comment
17 minutes ago, Squid said:

Change the URL you navigate to to be /recyclebin/shares when you hit done you'll wind up back at recycle bin

 

Done takes you back to the previous level in the URL

Sent via telekinesis

 

 

 

 

Ok.  I understand.  The problem is that I lose my other tabs.

Link to comment
6 minutes ago, Squid said:

What are the URLs for those 2 screenshots?

All tabs: https://backupserver/Settings/RecycleBin

 

Only Share tab: https://backupserver/Settings/RecycleBin/RecycleBinShares  This one also does the same https://backupserver/Settings/RecycleBinSettings/RecycleBinShares.

 

This was the only way I could get it to be close.  If I use https://backupserver/Settings/RecycleBin/Shares I get the Unraid shares page.

 

The page map shows:

3 [RecycleBin] - Recycle Bin

     4 RecycleBinSettings - Settings
     4 RecycleBinShares - Shares
     4 RecycleBinLog - Deleted Files

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.