Subversion Repositories SmartDukaan

Rev

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

Rev 22089 Rev 22095
Line 330... Line 330...
330
                 url: "create-order",
330
                 url: "create-order",
331
                 data: payload,
331
                 data: payload,
332
                 contentType:'application/json',
332
                 contentType:'application/json',
333
				async: false,
333
				async: false,
334
				success: function (data) {
334
				success: function (data) {
-
 
335
					emptyBag();
335
				alert("Purchase booked successfully");
336
					$('#main-content').html(data);
336
				},
337
				},
337
				error : function() {
338
				error : function() {
338
					alert("OOPS!!!Failed to do changes.Try Again.",'ERROR');
339
					alert("OOPS!!!Failed to do changes.Try Again.",'ERROR');
339
				},
340
				},
340
				cache: false,
341
				cache: false,