mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Image Upload URl saves in the right place
closes #864 - adds trigger - uploadstart to url handler
This commit is contained in:
parent
0b87c42e84
commit
90e4637ede
1 changed files with 1 additions and 2 deletions
|
@ -22,8 +22,7 @@
|
|||
$.extend(this, {
|
||||
complete: function (result) {
|
||||
var self = this;
|
||||
|
||||
$dropzone.trigger("uploadsuccess", [result, $dropzone.attr('id')]);
|
||||
$dropzone.trigger('uploadstart', [$dropzone.attr('id')]);
|
||||
|
||||
function showImage(width, height) {
|
||||
$dropzone.find('img.js-upload-target').attr({"width": width, "height": height}).css({"display": "block"});
|
||||
|
|
Loading…
Add table
Reference in a new issue