Hi all,

I was wondering if anyone could shed some light on whether there's any 
particular reason why Jenkins would set a separate screenResolution cookie 
for each view tab?

If you have a quick look at 
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/View/index.jelly#L50,
 
it states the following:

YAHOO.util.Cookie.set("screenResolution", screen.width+"x"+screen.height);

If the "path" option is not specified in the config object, it defaults to 
the current path of the current document location, which then results with 
screenResolution cookie being set multiple times, once per path.

I'm happy to fix it and submit a pull request, but perhaps someone 
(Kohsuke?) could confirm if this behaviour was not intended?

Best,
Jan

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to