fix url for image replacement, too
This commit is contained in:
		@@ -49,7 +49,7 @@ $.fn.imageUpload = function() {
 | 
				
			|||||||
                        contentType: 'application/octet-stream',
 | 
					                        contentType: 'application/octet-stream',
 | 
				
			||||||
                    }).done(function(data){
 | 
					                    }).done(function(data){
 | 
				
			||||||
                        $input.val(data.file);
 | 
					                        $input.val(data.file);
 | 
				
			||||||
                        $img.prop('src', '/imageupload?file=' + data.file);
 | 
					                        $img.prop('src', '../imageupload?file=' + data.file);
 | 
				
			||||||
                        clearError();
 | 
					                        clearError();
 | 
				
			||||||
                    }).fail(function(xhr, error){
 | 
					                    }).fail(function(xhr, error){
 | 
				
			||||||
                        try {
 | 
					                        try {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user