BUG 5849 This issue has been fixed
the text is good, however a cancel button has been added
This commit is contained in:
2
workflow/engine/xmlform/cases/cases_Scheduler_New.html
Normal file → Executable file
2
workflow/engine/xmlform/cases/cases_Scheduler_New.html
Normal file → Executable file
@@ -222,7 +222,7 @@
|
||||
|
||||
|
||||
<tr>
|
||||
<td class="FormButton" colspan="2" align="">{$form.SAVE}</td>
|
||||
<td class="FormButton" colspan="2" align="">{$form.BTNCANCEL} {$form.SAVE}</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</td>
|
||||
|
||||
@@ -225,11 +225,16 @@
|
||||
<en>Save</en>
|
||||
</SAVE>
|
||||
|
||||
<BTNCANCEL type="button" onClick="javascript:backToList();">
|
||||
<en>Cancel</en>
|
||||
</BTNCANCEL>
|
||||
|
||||
<SHOW_HIDE_JS type="javascript"><![CDATA[
|
||||
hideAll();
|
||||
hideProperties();
|
||||
|
||||
|
||||
|
||||
function $_GET(q,s) {
|
||||
s = (s) ? s : self.location.search;
|
||||
var re = new RegExp('&'+q+'=([^&]*)','i');
|
||||
@@ -503,6 +508,11 @@ function case_userSchedulerValidate(username, password) {
|
||||
|
||||
oRPC.callback = function(rpc){
|
||||
//msgBox(rpc.xmlhttp.responseText,"alert");
|
||||
sresponse = rpc.xmlhttp.responseText;
|
||||
if(sresponse == "User does not have access to the system"){
|
||||
msgBox(rpc.xmlhttp.responseText,"alert");
|
||||
return false;
|
||||
}
|
||||
getField('SCH_USER_UID').value = rpc.xmlhttp.responseText;
|
||||
user_uid = rpc.xmlhttp.responseText;
|
||||
//alert(user_uid);
|
||||
|
||||
Reference in New Issue
Block a user