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 naProcess = new input(getField('PRO_TITLE'));
|
||||
naProcess.passed();
|
||||
|
||||
var verifyProcessInformation = function(oForm) {
|
||||
if (validateNameProcess) {
|
||||
var oAux;
|
||||
@@ -126,8 +125,8 @@ var verifyProcessInformation = function(oForm) {
|
||||
oAux.focus();
|
||||
bContinue = false;
|
||||
}
|
||||
var regExp = /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$/;
|
||||
if (regExp.test(oAux.value)) {
|
||||
var regEx = /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*\";|/]+$/;
|
||||
if (oAux.value.match(regEx)==null) {
|
||||
alert('@G::LoadTranslation(ID_INVALID_PROCESS_NAME)');
|
||||
oAux.focus();
|
||||
bContinue = false;
|
||||
@@ -142,7 +141,6 @@ var verifyProcessInformation = function(oForm) {
|
||||
nProcess.focus();
|
||||
}
|
||||
};
|
||||
|
||||
leimnud.event.add(getField('PRO_TITLE'), 'change', function() {
|
||||
var nProcess = new input(getField('PRO_TITLE'));
|
||||
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();
|
||||
}
|
||||
});
|
||||
|
||||
function cancel() {
|
||||
Pm.tmp.editProcessPanel.remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user