1

I was added the JS-script to the library page and the main tabs were closed, how to restore the tab with the added script.

Before:

enter image description here

After:

enter image description here

1 Answer 1

1

Add a content editor web part with this JavaScript code:

 setTimeout(function() {
    var elem = document.getElementById("MSOZoneCell_WebPartWPQ2");
    if(elem != null) {
        var dummyevent = new Array();
        dummyevent["target"] = elem;
        dummyevent["srcElement"] = elem;
        WpClick(dummyevent);
    }
}, 2000);

1
  • I'm a testing :)
    – Shrek
    Sep 4, 2017 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.