Subversion Repositories SmartDukaan

Rev

Rev 25650 | Rev 25789 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25650 Rev 25721
Line 91... Line 91...
91
					return;
91
					return;
92
				}
92
				}
93
 
93
 
94
				console.log(hygieneData);
94
				console.log(hygieneData);
95
 
95
 
96
				if (confirm("Are you sure you want to add detail!") == true) {
96
				if (confirm("Are you sure you want to update detail!") == true) {
97
					doPostAjaxRequestWithJsonHandler(context + "/hygieneData",
97
					doPostAjaxRequestWithJsonHandler(context + "/hygieneData",
98
							JSON.stringify(hygieneData), function(response) {
98
							JSON.stringify(hygieneData), function(response) {
99
								if (response == 'true') {
99
								if (response == 'true') {
100
									alert("successfully Add");
100
									alert("successfully Update");
101
									$('#fetchCustomerData').modal('hide');
101
									$('#fetchCustomerData').modal('hide');
102
									$('.modal-backdrop').remove();
102
									$('.modal-backdrop').remove();
103
									loadHygiene("main-content");
103
									loadHygiene("main-content");
104
 
104
 
105
								}
105
								}