mritter Posted June 10, 2009 Posted June 10, 2009 I was messing around with multiple config.js files a while back and noticed something. The Category Sort Order grid starts with what is in the useroptions.js file, but when load a different config.js, those new cats get appended to the end of the list. Could be duplicates, could be new ones. Either way, the list grows when it really shouldn't be.So, I was thinking of moving the list of Configurations and Category Sort Order entries out of useroptions.js and into config.js. That way they will match up properly.Good example why: default settings has Configs of "Server, Accounting, Peons". But now you need to load software for "The Boss" who uses config_TheBoss.js. But there is no entyr in Config for "The Boss" so you have to manually select each item, not just pick the Config and have WPI do it for you.If the Configurations and Category Sort Order were in config.js, the two lists would be updated automatically and correctly.Another example: you have 2 configs: work and home. You start with Work and update your work computer. But you want some other stuff from Home config. Switch. Now your 2 lists are jumbled with a mix of both. If you happen to go to Options Wizard and save, then your lists will be all messed up and have to manually edit them to clean out the unwanted entries.Anyone see any problem with this that I haven't thought of? Understand why and what it will do? Anything else that is config specific need to be moved from useroptions.js to config.js?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now