I am working on O365 and created a custom Master Page. I have some out of the box web parts on the page, a reference to JQuery and a web part which is making a rest call to Images library and pulling images.

I get this error on console which is pointing to spribbon.js line 2:

Uncaught TypeError: this.$1_1.itemPermMasks.customFromJson is not a function

and all the icons on the Ribbon are greyed out, the edit button on the right-hand side also does not work.

I am able to edit the page adding ToolPaneView=2 to the Url. however, want to fix this before I finish the project.

Does anyone have any idea why this might be happening, please?



You should compare your customer master page to the out of the box Seattle. I have a feeling you might have accidentally deleted one of the JavaScript includes by accident which is throwing that error.

| improve this answer | |
  • Ta! You are nearly right, it's a js referencing issue, but I was referencing sp.js twice.. – ova Aug 22 '16 at 8:47

I have been referencing sp.js twice! That was the reason. It was not complaining about it being referenced twice (which it sometimes did, as I did same stupidity in the past) But resolved now. Thanks!

| improve this answer | |
  • 1
    So close.. :-) Glad you figured it out! – Jared Matfess Aug 22 '16 at 23:45
  • When i can't find it on google, 99% my own stupidity :p, rule of thumb! – ova Aug 23 '16 at 0:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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