Small mistake in that code: `option:selected` will filter the *currently 
selected* option, meaning it will get wrong one if the user has changed the 
selection already.

Correct selector is `option[selected]`, the option element with a @selected.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/6.1-opw-574588-cpa/+merge/104910
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/6.1-opw-574588-cpa.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to