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>
|
<tr>
|
||||||
<td class="FormButton" colspan="2" align="">{$form.SAVE}</td>
|
<td class="FormButton" colspan="2" align="">{$form.BTNCANCEL} {$form.SAVE}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -225,11 +225,16 @@
|
|||||||
<en>Save</en>
|
<en>Save</en>
|
||||||
</SAVE>
|
</SAVE>
|
||||||
|
|
||||||
|
<BTNCANCEL type="button" onClick="javascript:backToList();">
|
||||||
|
<en>Cancel</en>
|
||||||
|
</BTNCANCEL>
|
||||||
|
|
||||||
<SHOW_HIDE_JS type="javascript"><![CDATA[
|
<SHOW_HIDE_JS type="javascript"><![CDATA[
|
||||||
hideAll();
|
hideAll();
|
||||||
hideProperties();
|
hideProperties();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function $_GET(q,s) {
|
function $_GET(q,s) {
|
||||||
s = (s) ? s : self.location.search;
|
s = (s) ? s : self.location.search;
|
||||||
var re = new RegExp('&'+q+'=([^&]*)','i');
|
var re = new RegExp('&'+q+'=([^&]*)','i');
|
||||||
@@ -503,6 +508,11 @@ function case_userSchedulerValidate(username, password) {
|
|||||||
|
|
||||||
oRPC.callback = function(rpc){
|
oRPC.callback = function(rpc){
|
||||||
//msgBox(rpc.xmlhttp.responseText,"alert");
|
//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;
|
getField('SCH_USER_UID').value = rpc.xmlhttp.responseText;
|
||||||
user_uid = rpc.xmlhttp.responseText;
|
user_uid = rpc.xmlhttp.responseText;
|
||||||
//alert(user_uid);
|
//alert(user_uid);
|
||||||
|
|||||||
Reference in New Issue
Block a user