Dear All,
I was facing "Uncaught TypeError: func is not a function" issue when browsing my SharePoint 2010
site and due to this all the functions in my ribbon was not working.
Whenever I am clicking on ribbon items it always show me loading as shown below
After digging more in to the issue I found that, in my Javascript code I have written
ExecuteDelayUntilScriptLoaded(init(),"sp.js")
In the above syntax the '()' after init method was creating the problem.
I replace above syntax with
ExecuteDelayUntilScriptLoaded(init,"sp.js")
and ribbon start working as expected.
Hope this post will save your time.
Thanks,
Sachin K.
I was facing "Uncaught TypeError: func is not a function" issue when browsing my SharePoint 2010
site and due to this all the functions in my ribbon was not working.
Whenever I am clicking on ribbon items it always show me loading as shown below
After digging more in to the issue I found that, in my Javascript code I have written
ExecuteDelayUntilScriptLoaded(init(),"sp.js")
In the above syntax the '()' after init method was creating the problem.
I replace above syntax with
ExecuteDelayUntilScriptLoaded(init,"sp.js")
and ribbon start working as expected.
Hope this post will save your time.
Thanks,
Sachin K.
No comments:
Post a Comment