fixed update profile, failed on unchanged data

This commit is contained in:
Jackk Goh
2018-03-27 11:46:37 +08:00
parent 770213499f
commit c14bb2b613
4 changed files with 64 additions and 5 deletions
@@ -37,7 +37,14 @@ var Script = function () {
$("#waiting").hide();
$("#suksesupdate").show();
//$("#gagalupdate").hide();
}else{
}
else if(e.status === 304){
$("#submitprofile").show();
$("#waiting").hide();
$("#update-unchanged").show();
//$("#gagalupdate").hide();
}
else{
$("#submitprofile").show();
$("#waiting").hide();
//$("#suksesupdate").show();