DOCSYSTEM Añadi validacion para ventana de creacion trigger

Añadi validacion para	ventana	de creacion trigger con el PARTNER_FLAG
al momento de cerrar el pop-up
This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-05-06 12:25:56 -04:00
parent e2ee160fba
commit fe84beb6e7
2 changed files with 4 additions and 1 deletions

View File

@@ -24,7 +24,8 @@
<SAVE type="button" onclick="document.getElementById('form[TRI_WEBBOT]').value = triggerEditor.getValue(); triggerSave1(this.form);">
<en>Save</en>
</SAVE>
<BTN_CANCEL type="button" onclick="cancel();triggerFromLibrary()">
<PARTNER_FLAG type="private"/>
<BTN_CANCEL type="button" onclick="cancel(); if('@%PARTNER_FLAG' == '' || '@%PARTNER_FLAG' == 0) { triggerFromLibrary(); }">
<en>Cancel</en>
</BTN_CANCEL>