Subversion Repositories SmartDukaan

Rev

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

Rev 33124 Rev 35282
Line 14... Line 14...
14
                            if (validateRetailerDetails()) {
14
                            if (validateRetailerDetails()) {
15
                                alert("Please fix errors");
15
                                alert("Please fix errors");
16
                                return false;
16
                                return false;
17
                            }
17
                            }
18
                            var json = retailerDetailsJson();
18
                            var json = retailerDetailsJson();
-
 
19
                            console.log("Retailer Details")
19
                            console.log(json);
20
                            console.log(json);
20
                            console.log("retailerJson = "
-
 
21
                                + json);
-
 
22
                            if (confirm("Are you sure you want to update Retailer Details!") == true) {
21
                            if (confirm("Are you sure you want to update Retailer Details!")) {
23
                                doAjaxRequestWithJsonHandler(
22
                                doAjaxRequestWithJsonHandler(
24
                                    context
-
 
25
                                    + "/retailerDetails",
23
                                    `${context}/retailerDetails`,
26
                                    "PUT",
24
                                    "PUT",
27
                                    json,
25
                                    json,
28
                                    function (response) {
26
                                    function (response) {
29
                                        $(
27
                                        $(
30
                                            '#retailer-details-container')
28
                                            '#retailer-details-container')