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