BUG 5849 This issue has been fixed

the text is good, however a cancel button has been added
This commit is contained in:
Carlos Pacha
2011-04-11 16:04:54 -04:00
parent e1e2b0c44e
commit 1fbb193090
2 changed files with 11 additions and 1 deletions

2
workflow/engine/xmlform/cases/cases_Scheduler_New.html Normal file → Executable file
View File

@@ -222,7 +222,7 @@
<tr>
<td class="FormButton" colspan="2" align="">{$form.SAVE}</td>
<td class="FormButton" colspan="2" align="">{$form.BTNCANCEL}&nbsp;&nbsp;{$form.SAVE}</td>
</tr>
</tbody></table>
</td>

View File

@@ -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);