FSN#36132 Nog 3 FcltMgr.alert()
svn path=/Website/trunk/; revision=32057
This commit is contained in:
@@ -76,7 +76,7 @@ user.auth_required_or_abort(this_bes.canRetourBES);
|
||||
var remaining = parseInt(document.getElementById('rem'+i).value,10);
|
||||
if( val == "" ) val = 0;
|
||||
if( val > remaining ){
|
||||
alert (L("lcl_bes_exceed_value_retour"));
|
||||
FcltMgr.alert(L("lcl_bes_exceed_value_retour"));
|
||||
obj.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ function checkInput(evt)
|
||||
((remaining > 0 && parseInt(val,10) >= 0) || (remaining < 0 && parseInt(val,10) <= 0)))) {
|
||||
if( val == "" ) val = 0;
|
||||
if( (remaining > 0 && val > remaining) || (remaining < 0 && val < remaining) ){
|
||||
alert (L("lcl_bes_exceed_value"));
|
||||
FcltMgr.alert(L("lcl_bes_exceed_value"));
|
||||
obj.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ var kosten = oRs("kosten").value;
|
||||
var amount = $("#cnt_amount").val();
|
||||
if (amount < 0 || amount > <%=safe.jsfloat(kosten)%>)
|
||||
{
|
||||
alert (L("lcl_cnt_exceed_cnt_kosten"));
|
||||
FcltMgr.alert(L("lcl_cnt_exceed_cnt_kosten"));
|
||||
$("#cnt_amount")[0].select();
|
||||
$("#cnt_amount")[0].focus();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user