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[
|
<js type="javascript"><![CDATA[
|
||||||
var oPanel1;
|
var oPanel1;
|
||||||
getField('SEARCH').disabled = true;
|
getField('SEARCH').disabled = true;
|
||||||
|
hideRowById("SEARCH");
|
||||||
|
|
||||||
//hideRowById('WS_USER');
|
//hideRowById('WS_USER');
|
||||||
//hideRowById('WS_PASS');
|
//hideRowById('WS_PASS');
|
||||||
@@ -60,6 +61,9 @@ leimnud.event.add(getField('TASKS'), 'change', function() {
|
|||||||
/**/
|
/**/
|
||||||
leimnud.event.add(getField('WE_TYPE'), 'change', function() {
|
leimnud.event.add(getField('WE_TYPE'), 'change', function() {
|
||||||
if (getField('WE_TYPE').value=='WS') {
|
if (getField('WE_TYPE').value=='WS') {
|
||||||
|
hideRowById("SEARCH");
|
||||||
|
showRowById("TEST");
|
||||||
|
|
||||||
showRowById('WE_USR');
|
showRowById('WE_USR');
|
||||||
showRowById('WS_USER');
|
showRowById('WS_USER');
|
||||||
showRowById('WS_PASS');
|
showRowById('WS_PASS');
|
||||||
@@ -67,6 +71,9 @@ leimnud.event.add(getField('WE_TYPE'), 'change', function() {
|
|||||||
showRowById('subtitle2');
|
showRowById('subtitle2');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
hideRowById("TEST");
|
||||||
|
showRowById("SEARCH");
|
||||||
|
|
||||||
hideRowById('WS_USER');
|
hideRowById('WS_USER');
|
||||||
hideRowById('WS_PASS');
|
hideRowById('WS_PASS');
|
||||||
hideRowById('WS_ROUNDROBIN');
|
hideRowById('WS_ROUNDROBIN');
|
||||||
@@ -118,6 +125,8 @@ var tasksName = getField('TASKS')[getField('TASKS').selectedIndex].innerHTML;
|
|||||||
//var scs=rpc.xmlhttp.responseText.extractScript();
|
//var scs=rpc.xmlhttp.responseText.extractScript();
|
||||||
//scs.evalScript();
|
//scs.evalScript();
|
||||||
if(rpc.xmlhttp.responseText>=1){
|
if(rpc.xmlhttp.responseText>=1){
|
||||||
|
showRowById("SEARCH");
|
||||||
|
|
||||||
getField('SEARCH').disabled = false;
|
getField('SEARCH').disabled = false;
|
||||||
//webEntry_generate(PRO_UID);
|
//webEntry_generate(PRO_UID);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user