mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03: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
@ -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…
Reference in New Issue
Block a user