...
|
...
|
@@ -156,6 +156,9 @@ $file.each(function(e) { |
|
|
var $this = $('#upload-img-' + e),
|
|
|
$par = $this.closest('.problem-description');
|
|
|
|
|
|
if (!window.location.origin) {
|
|
|
window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: '');
|
|
|
}
|
|
|
$this.qupload({
|
|
|
button_image_url: '',
|
|
|
upload_url: window.location.origin + '/home/returns/imgUpload',
|
...
|
...
|
|