BUG 9603 The notification validate value none SOLVED

- I removed validate and add value none "alert_message.html"
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-08-08 17:03:47 -04:00
parent c817c5ab7e
commit 0161c1b1bf
2 changed files with 1 additions and 20 deletions

View File

@@ -145,16 +145,6 @@ var saveDataTaskTemporal = function(iForm)
}
break;
case 'template' :
var vmesn = new input(getField('TAS_DEF_MESSAGE_TEMPLATE'));
if (getField('TAS_DEF_MESSAGE_TEMPLATE').value.trim() == ''){
vmesn.failed();
new leimnud.module.app.alert().make( {
label : G_STRINGS.ID_TEMPLATE_FIELD_REQUIRED
});
return false;
} else {
vmesn.passed();
}
break;
}
}

View File

@@ -28,7 +28,7 @@
<TAS_DEF_MESSAGE_TEMPLATE type="dropdown" sqlconnection="dbarray">
SELECT FILE,NAME FROM _TEMPLATES1
<en>Template<option name="">- None -</option></en>
<en>Template<option name="alert_message.html">- None -</option></en>
</TAS_DEF_MESSAGE_TEMPLATE>
<JS type="javascript"><![CDATA[
@@ -87,15 +87,6 @@
}
break;
case 'template' :
var vmesn = new input(getField('TAS_DEF_MESSAGE_TEMPLATE'));
if (getField('TAS_DEF_MESSAGE_TEMPLATE').value.trim() == ''){
new leimnud.module.app.alert().make( {
label : G_STRINGS.ID_TEMPLATE_FIELD_REQUIRED
});
vmesn.failed();
} else {
vmesn.passed();
}
break;
}
}