Subversion Repositories SmartDukaan

Rev

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

Rev 22860 Rev 22956
Line 74... Line 74...
74
	                 contentType:'application/json',
74
	                 contentType:'application/json',
75
					async: false,
75
					async: false,
76
					success: function (data) {
76
					success: function (data) {
77
						$('#main-content').html(data);
77
						$('#main-content').html(data);
78
					},
78
					},
79
					error : function() {
-
 
80
						alert("OOPS!!!Failed to do changes.Try Again.",'ERROR');
-
 
81
					},
-
 
82
					cache: false,
79
					cache: false,
83
					processData: false
80
					processData: false
84
	             });
81
	             });
85
	             return false; // required to block normal submit since you used ajax
82
	             return false; // required to block normal submit since you used ajax
86
			}
83
			}