the problem probably comes from a bug in internet explorer
the popup for viewing should open in window named “view-elements” but it does not work
the following patch make the popup to open in a “_blank” window if using IE
which partially solves the problem (a least, it is better than being sent to the home page)
Fred
Index: phpgwapi/js/jsapi/jsapi.js
— phpgwapi/js/jsapi/jsapi.js (revision 268)
+++ phpgwapi/js/jsapi/jsapi.js (working copy)
@@ -529,6 +529,10 @@
positionLeft = (windowWidth/2)-(_width/2)+egw_getWindowLeft();
positionTop = (windowHeight/2)-(_height/2)+egw_getWindowTop();
- if(is_ie){
-
_windowName = '_blank';
- }
- windowID = window.open(_url, _windowName, “width=” + _width + “,height=” + _height +
",screenX=" + positionLeft + “,left=” + positionLeft + “,screenY=” + positionTop + “,top=” + positionTop +
",location=no,menubar=no,directories=no,toolbar=no,scrollbars=yes,resizable=yes,status="+_status);