First let me say this project is awesome. I don't have enough karma to vote you up, but the second I do, I will. I did encounter one small bug though that I want to bring to your attention.
I've found that if the tab to be hidden is in the top of the sort order, then it will introduce a bug when the restricted user views the content page. The first tab they see will still be visible, but the panel will be empty until the user clicks on the top of the tab.
If there are multiple tabs, then this can be fixed by changing up the sort order. If however, there is only one extra tab, and it is being hidden, then the bug will affect the Properties tab. And I'm not sure of a workaround in this case.
updated the dll to version 1.1, but still have a bug. When i hide the first of, let's say, five tabs, the one that is first afterwards is empty until i click it once. If i hide the second, third,... tab, but leave the first everything works as expected.
Hi @Matthias, have you tried doing a hard reset of the page (ctrl + F5) to force a full reload of everything (including javascript)? Some of the JS changed and it could be that your browser has cached the older version of the emitted JS code. If that still doesn't work, can you let me know which version of umbraco you're using and I'll try and repo and fix.
Hidden tab sort order bug
First let me say this project is awesome. I don't have enough karma to vote you up, but the second I do, I will. I did encounter one small bug though that I want to bring to your attention.
I've found that if the tab to be hidden is in the top of the sort order, then it will introduce a bug when the restricted user views the content page. The first tab they see will still be visible, but the panel will be empty until the user clicks on the top of the tab.
If there are multiple tabs, then this can be fixed by changing up the sort order. If however, there is only one extra tab, and it is being hidden, then the bug will affect the Properties tab. And I'm not sure of a workaround in this case.
Hi Dan,
Thanks for posting this, I'll see if I can come up with a fix! Are you using 4.5?
Yes, 4.5.2. Same result in Firefox, IE, and Chrome.
Hiya,
Sorry it's taken so long to sort this, but version 1.1 is now available, with this bug fixed!
:)
Nice! Thanks for the update!
Hi Tim,
updated the dll to version 1.1, but still have a bug. When i hide the first of, let's say, five tabs, the one that is first afterwards is empty until i click it once. If i hide the second, third,... tab, but leave the first everything works as expected.
Thanks
Matthias
Hi @Matthias, have you tried doing a hard reset of the page (ctrl + F5) to force a full reload of everything (including javascript)? Some of the JS changed and it could be that your browser has cached the older version of the emitted JS code. If that still doesn't work, can you let me know which version of umbraco you're using and I'll try and repo and fix.
:)
FYI, the link at the top of the page still goes to the previous version. I had to use the link at the bottom to get the 1.1 version.
Hi @Connie,
I've tried to update the project, but the our.umb site keeps crashing. I'll try again later on and see if I can get it working.
Project updated, it's linking to the correct file now!
:)
is working on a reply...