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();
|
||||
bContinue = false;
|
||||
}
|
||||
|
||||
var regExp = /^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*:\";|/]+$/;
|
||||
|
||||
if (oAux.value.search(regExp)==-1) {
|
||||
if (regExp.test(oAux.value)) {
|
||||
alert('@G::LoadTranslation(ID_INVALID_PROCESS_NAME)');
|
||||
oAux.focus();
|
||||
bContinue = false;
|
||||
}
|
||||
|
||||
if (bContinue) {
|
||||
ajax_post(oForm.action, oForm, 'POST');
|
||||
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