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