Subversion Repositories SmartDukaan

Rev

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

Rev 24062 Rev 24066
Line 61... Line 61...
61
			}
61
			}
62
			doPostAjaxRequestWithJsonHandler(
62
			doPostAjaxRequestWithJsonHandler(
63
					context+"/add-pricing", JSON.stringify(obj),
63
					context+"/add-pricing", JSON.stringify(obj),
64
					function(response) {
64
					function(response) {
65
						if (response == 'true') {
65
						if (response == 'true') {
66
							$('#newPriceDropModal').find('button.close').trigger('click');
66
							$('#addPriceModal').find('button.close').trigger('click');
67
							setTimeout(() => {
67
							setTimeout(() => {
68
								alert("PriceDrop added successfully")
68
								alert("PriceDrop added successfully")
69
								loadPriceDrop("main-content");
69
								loadPriceDrop("main-content");
70
							}, 500);
70
							}, 500);
71
						} else {
71
						} else {