PM-1180 Menu contextual en Designer Tab no se muestra bien en IE

El problema era el Document Mode, que para q el Diseniador de procesos funcione tenia q ser cambiado obligatoriamente y de forma manual por el usuario a Standards, cosa que hacia que varias cosas en PM se reenderen mal, entre estas: La letra crecia y ya no se visualizaban los labels completos, aparecian dobles scrolls en algunas ventanas y tambien desaparecia el footer de las tablas de los listados tanto en HOME, Designer y Admin.

Por lo tanto se opto por abrir en otro tab el diseador cuando el proceso sea BPMN y el navegador sea IE, esto para que el meta que se seteo en Michelangelo se respete y no sea pisado por el meta de PM, ya que ambos son distintos. PM-> 'IE=8' y Michelangelo-> 'IE=edge'
This commit is contained in:
jennylee
2015-01-13 17:29:12 -04:00
parent 7a4139315c
commit e1598437db

View File

@@ -572,7 +572,14 @@ function saveProcess()
if (projectType == 'classicProject') {
location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID;
} else {
location.href = '../designer?prj_uid='+resp.result.PRO_UID;
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
window.open(
"../designer?prj_uid="+resp.result.PRO_UID,
'_blank'
);
} else {
location.href = '../designer?prj_uid='+resp.result.PRO_UID;
}
}
},
failure: function(obj, resp) {
@@ -622,7 +629,14 @@ editProcess = function(typeParam)
url = 'processes_Map?PRO_UID=' + pro_uid;
}
location.href = url;
if ( (navigator.userAgent.indexOf('MSIE') !=-1) && (type == "bpmn") ) {
window.open(
url,
'_blank'
);
} else {
location.href = url;
}
}
editNewProcess = function(){
@@ -927,7 +941,14 @@ importProcessExistGroup = function()
var sNewProUid = resp_.sNewProUid;
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
window.location.href = "../designer?prj_uid=" + sNewProUid;
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
window.open(
"../designer?prj_uid=" + sNewProUid,
'_blank'
);
} else {
window.location.href = "../designer?prj_uid=" + sNewProUid;
}
} else {
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
}
@@ -1062,7 +1083,14 @@ importProcessExistProcess = function()
if (resp_.ExistGroupsInDatabase == 0) {
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
window.location.href = "../designer?prj_uid=" + sNewProUid;
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
window.open(
"../designer?prj_uid=" + sNewProUid,
'_blank'
);
} else {
window.location.href = "../designer?prj_uid=" + sNewProUid;
}
} else {
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
}
@@ -1189,7 +1217,14 @@ importProcess = function()
var sNewProUid = resp_.sNewProUid;
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
window.location.href = "../designer?prj_uid=" + sNewProUid;
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
window.open(
"../designer?prj_uid=" + sNewProUid,
'_blank'
);
} else {
window.location.href = "../designer?prj_uid=" + sNewProUid;
}
} else {
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
}