Mohammed Shekha(Open ERP) has proposed merging
lp:~openerp-dev/openobject-client-web/5.0-opw-576064-msh into
lp:openobject-client-web/5.0.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/5.0-opw-576064-msh/+merge/112000
Hello,
Fixed the issue of many2one widget which not works in editable tree view mode
inside one2many in firefox > 4.
The reason is we are calling listgrid/get method which will return final
response as html and we are setting it in innerHtml of DIV, but assigning an
HTML will not execute scripts, we have already created a code to execute the
script but it is executed based on condition, assigning a final HTML will not
going to execute script in any browser hence removed the condition.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/5.0-opw-576064-msh/+merge/112000
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client-web/5.0-opw-576064-msh.
=== modified file 'openerp/static/javascript/listgrid.js'
--- openerp/static/javascript/listgrid.js 2010-08-03 11:28:47 +0000
+++ openerp/static/javascript/listgrid.js 2012-06-26 04:20:55 +0000
@@ -549,13 +549,11 @@
var ua = navigator.userAgent.toLowerCase();
- if ((navigator.appName != 'Netscape') || (ua.indexOf('safari') != -1)) {
- // execute JavaScript
- var scripts = getElementsByTagAndClassName('script', null, newlist);
- forEach(scripts, function(s){
- eval(s.innerHTML);
- });
- }
+ // execute JavaScript
+ var scripts = getElementsByTagAndClassName('script', null, newlist);
+ forEach(scripts, function(s){
+ eval(s.innerHTML);
+ });
// update concurrency info
for(var key in obj.info) {
_______________________________________________
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