Xavier ALT (OpenERP) has proposed merging
lp:~openerp-dev/openobject-client-web/6.0-opw-577768-xal into
lp:openobject-client-web.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-577768-xal/+merge/118905
Hi,
This fix problems with "error popup" not being displayed when removing a line
from a o2m widget wihtin a popup window (wizard) - in that case error_display()
is called but jQuery.fancybox won't be show.
Regards,
Xavier
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-577768-xal/+merge/118905
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client-web/6.0-opw-577768-xal.
=== modified file 'addons/openerp/static/javascript/form.js'
--- addons/openerp/static/javascript/form.js 2012-07-30 12:23:28 +0000
+++ addons/openerp/static/javascript/form.js 2012-08-09 09:28:43 +0000
@@ -187,11 +187,11 @@
jQuery("<tr>").append(
jQuery("<td>", {'colspan': 2, align: 'right'}).append(
jQuery("<a>", {'class': 'button-a', 'href': 'javascript: void(0)'})
- .click(function(){jQuery.fancybox.close();})
+ .click(function(){window.top.jQuery.fancybox.close();})
.text('OK')
)
));
- jQuery.fancybox(error, {scrolling: 'no'});
+ window.top.jQuery.fancybox(error, {scrolling: 'no'});
}
_______________________________________________
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