I added Bill's code to OpenILS/data.js, with slight modifications to match the surrounding code. I admit that I don't know much about the client build process, so this might not be the only place this code is needed. I know that this code needs to end up in the server-side xul, rather than the client-side. Hopefully this first step will help this move forward.
I tested it by adding the "general.useragent.override" setting to my client, ran the new code, and saw that my setting was remove.
I added Bill's code to OpenILS/data.js, with slight modifications to match the surrounding code. I admit that I don't know much about the client build process, so this might not be the only place this code is needed. I know that this code needs to end up in the server-side xul, rather than the client-side. Hopefully this first step will help this move forward.
I tested it by adding the "general. useragent. override" setting to my client, ran the new code, and saw that my setting was remove.
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ rsteed/ lp1198983_ clear_useragent _override
working/ user/rsteed/ lp1198983_ clear_useragent _override