Merged in luisfernandosl/processmaker/BUG-331 (pull request #861)
BUG 331 "Web entry Testing Configuration..." SOLVED
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
<js type="javascript"><![CDATA[
|
||||
var oPanel1;
|
||||
getField('SEARCH').disabled = true;
|
||||
hideRowById("SEARCH");
|
||||
|
||||
//hideRowById('WS_USER');
|
||||
//hideRowById('WS_PASS');
|
||||
@@ -60,6 +61,9 @@ leimnud.event.add(getField('TASKS'), 'change', function() {
|
||||
/**/
|
||||
leimnud.event.add(getField('WE_TYPE'), 'change', function() {
|
||||
if (getField('WE_TYPE').value=='WS') {
|
||||
hideRowById("SEARCH");
|
||||
showRowById("TEST");
|
||||
|
||||
showRowById('WE_USR');
|
||||
showRowById('WS_USER');
|
||||
showRowById('WS_PASS');
|
||||
@@ -67,6 +71,9 @@ leimnud.event.add(getField('WE_TYPE'), 'change', function() {
|
||||
showRowById('subtitle2');
|
||||
}
|
||||
else {
|
||||
hideRowById("TEST");
|
||||
showRowById("SEARCH");
|
||||
|
||||
hideRowById('WS_USER');
|
||||
hideRowById('WS_PASS');
|
||||
hideRowById('WS_ROUNDROBIN');
|
||||
@@ -118,6 +125,8 @@ var tasksName = getField('TASKS')[getField('TASKS').selectedIndex].innerHTML;
|
||||
//var scs=rpc.xmlhttp.responseText.extractScript();
|
||||
//scs.evalScript();
|
||||
if(rpc.xmlhttp.responseText>=1){
|
||||
showRowById("SEARCH");
|
||||
|
||||
getField('SEARCH').disabled = false;
|
||||
//webEntry_generate(PRO_UID);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user