We took a backup of production site and restored it on our development server. The site has been developed on OOB or SharePoint Designer with no custom development on it. The restoration process went fine with no errors thrown.
But when we try to save item in any list the console throws error that:
PreSaveItem is not defined
I checked and found that there is not custom JavaScript code in either PreSaveItem
or PreSaveAction
written. The items are getting saved on production site completely fine.
It seems that the library where PreSaveItem
function is defined is absent. But I am not able to pinpoint anything over here. Any possible leads on how should this problem be approached? Anything we can make sure to verify that the restoration process was error free?