Skip to content

Commit

Permalink
Update exact.js to fix OP-1665 (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
mngoe authored Nov 30, 2023
1 parent a5fa67e commit 989484b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/assets/JS/exact.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ $(document).ready(function(){
var $mandatory = $('[required]');
var passed = true;
$mandatory.each(function(){
if($(this).val() == "" || $(this).val() == 0){//|| $(this).val() == 0
if($(this).val() == "" || $(this).val() == 0 || $(this).val() == null)){//|| $(this).val() == 0
// if(sessionStorage.getItem("FamilyData") == null){
// passed = false;
// }
Expand Down Expand Up @@ -301,4 +301,4 @@ $(document).ready(function(){
var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
}
//********************************Context menu ends*************************************************
//********************************Context menu ends*************************************************

0 comments on commit 989484b

Please sign in to comment.