BUG 11135 "Nombre de procesos no aceptan ":" a pesar de que PM crea
copias con ":" en el nombre" SOLVED -Nombre de proceso no acepta ":" a pesar de que PM crea copias con ":" en el nombre. PM crea copias con el nombre "Copy of - BUG 7490 multiplicacion con grillas - Mar 28, 10:32", pero despues de editar las propiedades del proceso no es posible guradas los cambios ya que muestra el mensaje "Invalid process name, please just use alphanumeric characters." -Problema resuelto, El usuario ya puede editar el nombre del proceso con el tipo de nombre "Copy of - BUG 7490 multiplicacion con grillas - Mar 28, 10:32" sin ningun problema
This commit is contained in:
@@ -115,7 +115,6 @@ WHERE
|
|||||||
var validateNameProcess = true;
|
var validateNameProcess = true;
|
||||||
var naProcess = new input(getField('PRO_TITLE'));
|
var naProcess = new input(getField('PRO_TITLE'));
|
||||||
naProcess.passed();
|
naProcess.passed();
|
||||||
|
|
||||||
var verifyProcessInformation = function(oForm) {
|
var verifyProcessInformation = function(oForm) {
|
||||||
if (validateNameProcess) {
|
if (validateNameProcess) {
|
||||||
var oAux;
|
var oAux;
|
||||||
@@ -126,8 +125,8 @@ var verifyProcessInformation = function(oForm) {
|
|||||||
oAux.focus();
|
oAux.focus();
|
||||||
bContinue = false;
|
bContinue = false;
|
||||||
}
|
}
|
||||||
var regExp = /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$/;
|
var regEx = /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*\";|/]+$/;
|
||||||
if (regExp.test(oAux.value)) {
|
if (oAux.value.match(regEx)==null) {
|
||||||
alert('@G::LoadTranslation(ID_INVALID_PROCESS_NAME)');
|
alert('@G::LoadTranslation(ID_INVALID_PROCESS_NAME)');
|
||||||
oAux.focus();
|
oAux.focus();
|
||||||
bContinue = false;
|
bContinue = false;
|
||||||
@@ -142,7 +141,6 @@ var verifyProcessInformation = function(oForm) {
|
|||||||
nProcess.focus();
|
nProcess.focus();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
leimnud.event.add(getField('PRO_TITLE'), 'change', function() {
|
leimnud.event.add(getField('PRO_TITLE'), 'change', function() {
|
||||||
var nProcess = new input(getField('PRO_TITLE'));
|
var nProcess = new input(getField('PRO_TITLE'));
|
||||||
getField('PRO_TITLE').value = getField('PRO_TITLE').value.replace(/^\s*|\s*$/g,"");
|
getField('PRO_TITLE').value = getField('PRO_TITLE').value.replace(/^\s*|\s*$/g,"");
|
||||||
@@ -158,7 +156,6 @@ leimnud.event.add(getField('PRO_TITLE'), 'change', function() {
|
|||||||
nProcess.focus();
|
nProcess.focus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function cancel() {
|
function cancel() {
|
||||||
Pm.tmp.editProcessPanel.remove();
|
Pm.tmp.editProcessPanel.remove();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user