Hi Death, oops sorry my problem was that I wasn't quite remembering properly what MiniSidepane.js does, I was thinking that it moved things in a different way (to split apart Construct / Transform tabs into individual tabs).
Sorry I was confused about that - there is additionally a problem with MiniSidepane.js that it should not be applied onto already customized UI.
So yeah it's just designed intentionally to remove those particular tabs. I don't think there is a version that keeps them.
But to modify it how you want, remove the 2 lines that have:
doc.getElementsByTagName("moi:PaletteHeader")[2].remove();
doc.getElementsByTagName("moi:PaletteBody")[2].remove();
That is the code that is removing the standard Edit / View / Select tabs.
If you then want to remove just the Edit tab on that row and leave View / Select put in this:
doc.getElementById("EditTab").remove();
doc.getElementById("EditTabContent").remove();
Hope I have that straightened out now, sorry for the confusion.
- Michael
|