Subversion Repositories SmartDukaan

Rev

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

Rev 1639 Rev 1640
Line 104... Line 104...
104
				jQuery.ajax({
104
				jQuery.ajax({
105
					type: "GET",
105
					type: "GET",
106
					url: "/contact-us/to_cancel",
106
					url: "/contact-us/to_cancel",
107
					success: function(data)	{
107
					success: function(data)	{
108
						if($.trim(data) == "<option value='-1'>No Orders Found</option>")	{
108
						if($.trim(data) == "<option value='-1'>No Orders Found</option>")	{
109
							alert("You don't hany any completed orders.");
109
							alert("You don't have any completed orders.");
110
							utils.resetForm();
110
							utils.resetForm();
111
						}
111
						}
112
						else	{
112
						else	{
113
							$("#order_id").html(data);
113
							$("#order_id").html(data);
114
						}
114
						}