PM-1501 16756: Error en mensaje al eliminar una fila de la grilla IE 10

Causa. Solo ocurre en IE, debido a que no ajusta el texto a las dimensiones dadas o establecidas (Width and Height).

 Nota.- Este error es replicable en 3 situaciones.
            1. En efecto al eliminar una fila de la grilla.
            2. Al eliminar un DYNAFORM desde el DESIGNER
            3. Al eliminar un STEP desde un TASK

Solucion. Con sintaxis JavaScript, se identifica en que navegador se encuentra el USUARIO, de ser IE se manda como atributos el alto y ancho ya predefinidos. Con esto es posible ver totalmente los mensajes sin ningun problema y visualizados en su totalidad.
This commit is contained in:
dheeyi
2015-02-09 17:25:36 -04:00
parent cd22e5a24a
commit b8e9338efa
4 changed files with 100 additions and 42 deletions

View File

@@ -43,12 +43,20 @@
}
function stepDelete( uid, stepPos ){
PROCESSMAP_STEP_EDIT = true;
new leimnud.module.app.confirm().make({label:'@#CONFIRM',action:function(){
ajax_function('@G::encryptlink(@#URL_STEP_DELETE)','','STEP_UID='+uid+'&TASK=@#TASK&STEP_POSITION='+stepPos,'POST');
@#PAGED_TABLE_ID.refresh();
}.extend(this)
});
PROCESSMAP_STEP_EDIT = true;
if (navigator.appName == 'Microsoft Internet Explorer') {
new leimnud.module.app.confirm().make({label:'@#CONFIRM',width:450, height:110, action:function(){
ajax_function('@G::encryptlink(@#URL_STEP_DELETE)','','STEP_UID='+uid+'&TASK=@#TASK&STEP_POSITION='+stepPos,'POST');
@#PAGED_TABLE_ID.refresh();
}.extend(this)
});
}else{
new leimnud.module.app.confirm().make({label:'@#CONFIRM',action:function(){
ajax_function('@G::encryptlink(@#URL_STEP_DELETE)','','STEP_UID='+uid+'&TASK=@#TASK&STEP_POSITION='+stepPos,'POST');
@#PAGED_TABLE_ID.refresh();
}.extend(this)
});
}
}
function externalStepEdit(stpUid, urlExternalStepEdit ){