0
Fork 0
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:
cobbspur 2013-09-24 16:10:48 +01:00 committed by Hannah Wolfe
parent 0b87c42e84
commit 90e4637ede

View file

@ -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"});