openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11013
[Bug 941984] Re: fields set as readonly can receive focus in openerp6.1--web
I fix this bug, i edit the file:
/addons/web/static/src/js/view_form.js
in line 1467 i add this:
var disabled = (this.readonly || this.force_disabled || !this.view.is_interactible_record());
this.$element.find('input').prop('disabled', disabled);
just before:
this.$element.find('input').prop('readonly', this.readonly);
It will be important to include this in trunk i think what do you
think??
** Attachment added: "view_form.js"
https://bugs.launchpad.net/openobject-server/+bug/941984/+attachment/3128909/+files/view_form.js
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/941984
Title:
fields set as readonly can receive focus in openerp6.1--web
Status in OpenERP Server:
Confirmed
Bug description:
Fields set as readonly in form views can receive focus, I think if the
field is readonly is not necesary to let it get focus, it is usefull
in the moment to fill form and reduce time for users because you have
not to pass throw fields that are inactive.
I am using openerp6.1 we client+firefox+ubuntu11.10.
Regards
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/941984/+subscriptions
References