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:
@@ -571,9 +571,16 @@ function saveProcess()
|
|||||||
success : function(obj, resp) {
|
success : function(obj, resp) {
|
||||||
if (projectType == 'classicProject') {
|
if (projectType == 'classicProject') {
|
||||||
location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID;
|
location.href = 'processes_Map?PRO_UID='+resp.result.PRO_UID;
|
||||||
|
} else {
|
||||||
|
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
|
||||||
|
window.open(
|
||||||
|
"../designer?prj_uid="+resp.result.PRO_UID,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
location.href = '../designer?prj_uid='+resp.result.PRO_UID;
|
location.href = '../designer?prj_uid='+resp.result.PRO_UID;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
failure: function(obj, resp) {
|
failure: function(obj, resp) {
|
||||||
PMExt.error( _('ID_ERROR'), resp.result.msg);
|
PMExt.error( _('ID_ERROR'), resp.result.msg);
|
||||||
@@ -622,7 +629,14 @@ editProcess = function(typeParam)
|
|||||||
url = 'processes_Map?PRO_UID=' + pro_uid;
|
url = 'processes_Map?PRO_UID=' + pro_uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( (navigator.userAgent.indexOf('MSIE') !=-1) && (type == "bpmn") ) {
|
||||||
|
window.open(
|
||||||
|
url,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
} else {
|
||||||
location.href = url;
|
location.href = url;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
editNewProcess = function(){
|
editNewProcess = function(){
|
||||||
@@ -927,7 +941,14 @@ importProcessExistGroup = function()
|
|||||||
var sNewProUid = resp_.sNewProUid;
|
var sNewProUid = resp_.sNewProUid;
|
||||||
|
|
||||||
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
|
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
|
||||||
|
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
|
||||||
|
window.open(
|
||||||
|
"../designer?prj_uid=" + sNewProUid,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
} else {
|
||||||
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
||||||
}
|
}
|
||||||
@@ -1062,7 +1083,14 @@ importProcessExistProcess = function()
|
|||||||
|
|
||||||
if (resp_.ExistGroupsInDatabase == 0) {
|
if (resp_.ExistGroupsInDatabase == 0) {
|
||||||
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
|
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
|
||||||
|
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
|
||||||
|
window.open(
|
||||||
|
"../designer?prj_uid=" + sNewProUid,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
} else {
|
||||||
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
||||||
}
|
}
|
||||||
@@ -1189,7 +1217,14 @@ importProcess = function()
|
|||||||
var sNewProUid = resp_.sNewProUid;
|
var sNewProUid = resp_.sNewProUid;
|
||||||
|
|
||||||
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
|
if (typeof(resp_.project_type) != "undefined" && resp_.project_type == "bpmn") {
|
||||||
|
if ( navigator.userAgent.indexOf('MSIE') !=-1 ) {
|
||||||
|
window.open(
|
||||||
|
"../designer?prj_uid=" + sNewProUid,
|
||||||
|
'_blank'
|
||||||
|
);
|
||||||
|
} else {
|
||||||
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
window.location.href = "../designer?prj_uid=" + sNewProUid;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
window.location.href = "processes_Map?PRO_UID=" + sNewProUid;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user