You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
598 B

  1. /*
  2. Copyright (C) 2013 Therp BV
  3. License: GNU AFFERO GENERAL PUBLIC LICENSE
  4. Version 3 or any later version
  5. @authors: Holger Brunn (hbrunn@therp.nl)
  6. Stefan Rijnhart (stefan@therp.nl)
  7. */
  8. openerp.web_popup_large = function(instance) {
  9. instance.web.Dialog.include({
  10. init: function(parent, options, content)
  11. {
  12. if(!options) {
  13. options = {}
  14. }
  15. if (!options.width) {
  16. options.width = '95%';
  17. }
  18. return this._super(parent, options, content);
  19. },
  20. });
  21. }