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 cualquier dato alfanumerico sin ningun problema
This commit is contained in:
@@ -126,15 +126,12 @@ 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 regExp = /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$/;
|
||||||
|
if (regExp.test(oAux.value)) {
|
||||||
if (oAux.value.search(regExp)==-1) {
|
|
||||||
alert('@G::LoadTranslation(ID_INVALID_PROCESS_NAME)');
|
alert('@G::LoadTranslation(ID_INVALID_PROCESS_NAME)');
|
||||||
oAux.focus();
|
oAux.focus();
|
||||||
bContinue = false;
|
bContinue = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bContinue) {
|
if (bContinue) {
|
||||||
ajax_post(oForm.action, oForm, 'POST');
|
ajax_post(oForm.action, oForm, 'POST');
|
||||||
Pm.data.db.title.label = Pm.data.db.title.object.elements.label.innerHTML = getField('PRO_TITLE').value.escapeHTML();
|
Pm.data.db.title.label = Pm.data.db.title.object.elements.label.innerHTML = getField('PRO_TITLE').value.escapeHTML();
|
||||||
|
|||||||
Reference in New Issue
Block a user