Subversion Repositories SmartDukaan

Rev

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

Rev 13719 Rev 13722
Line 53... Line 53...
53
			data: {
53
			data: {
54
				format: "json"
54
				format: "json"
55
			},
55
			},
56
			// Work with the response
56
			// Work with the response
57
			success: function( response ) {
57
			success: function( response ) {
58
				$('#loadingModal').modal('hide');
-
 
59
				if(response.success && response.type=='redirect'){
58
				if(response.success && response.type=='redirect'){
60
					document.location = response.url;
59
					document.location = response.url;
61
				}
60
				}
62
			}
61
			}
63
		});
62
		});