I was trying to use the jQuery load function in Chrome (on Windows) when I encountered the following error:

XMLHttpRequest cannot load file:///C:/Projects/test/about.html. Origin null is not allowed by Access-Control-Allow-Origin.

I discovered that I had to disable web security in chrome by closing ALL currently running instances of chrome and then running chrome with the – -disable-web-security parameter:

Chrome would then display the following warning header once it was loaded:
Chrome warning

Note: I would only recommend this option for development purposes. Please do not use this option for every day browsing.

I encountered the issue mentioned on the following page:


I was trying to disable a save warning that was occurring on a secondary page that I was manually populating. I purposely de-selected all of the Set Component Changed fields on the page and even added hidden fields (eg. key fields) on the page so that I could de-select the Set Component Changed values for all of the fields in the record:

de-selected Set Component Changed property

Unfortunately I still received the Save Warning. I tried debugging the javascript as was suggested by the author in the link above, but I noticed (along with Dan Kibler [see his comments in the link above]) that the code was breaking before the author’s suggested breakpoints.

I managed to resolve this issue by following Dan Kibler’s advice in using the undocumented PeopleTools function SetSaveWarningFilterSetSaveWarningFilter(True) disables the Save Warning while SetSaveWarningFilter(False) enables the Save Warning. I also managed to resolve this issue by setting to False the SetComponentChanged property of the rowset that was causing the issue.

As a general rule, I propose that if you know the rowset that is causing the issue then you should set the SetComponentChanged property to False since it makes for easier maintenance. The SetSaveWarningFilter option on the other hand, is more of a generic solution for cases where it’s difficult to find out exactly what is causing the issue.