diff --git a/api/js/etemplate/et2_extension_nextmatch_actions.js b/api/js/etemplate/et2_extension_nextmatch_actions.js index b6432f2d3e..b603a592c1 100644 --- a/api/js/etemplate/et2_extension_nextmatch_actions.js +++ b/api/js/etemplate/et2_extension_nextmatch_actions.js @@ -120,7 +120,47 @@ function nm_action(_action, _senders, _target, _ids) break; case 'popup': - egw.open_link(url,target,_action.data.width+'x'+_action.data.height); + + // Accoring to microsoft, IE 10/11 can only accept a url with 2083 caharacters + // therefore we need to send request to compose window with POST method + // instead of GET. We create a temporary
and will post emails. + // ** WebServers and other browsers also have url length limit: + // Firefox:~ 65k, Safari:80k, Chrome: 2MB, Apache: 4k, Nginx: 4k + if (url.length > 2083) + { + var $tmpForm = jQuery(document.createElement('form')); + var $tmpSubmitInput = jQuery(document.createElement('input')).attr({type:"submit"}); + var params = url.split('&'); + url = params[0]; + for (var i=1;i