update
parent
1d9584345e
commit
4fad8668e2
File diff suppressed because one or more lines are too long
|
@ -140,6 +140,7 @@ $(document).on('ready pjax:success', function() {
|
||||||
$("#upload").click(function(event) {
|
$("#upload").click(function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
$('.actions input[type="file"]').click();
|
$('.actions input[type="file"]').click();
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
$('input[type="file"]').on('change', function(event) {
|
$('input[type="file"]').on('change', function(event) {
|
||||||
|
@ -181,6 +182,7 @@ $(document).on('ready pjax:success', function() {
|
||||||
});
|
});
|
||||||
console.log(data);
|
console.log(data);
|
||||||
});
|
});
|
||||||
|
return false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue