Skip to content

Commit

Permalink
Image Upload URl saves in the right place
Browse files Browse the repository at this point in the history
closes #864

- adds trigger - uploadstart to url handler
  • Loading branch information
cobbspur authored and ErisDS committed Sep 26, 2013
1 parent 0b87c42 commit 90e4637
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/client/assets/lib/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"});
Expand Down

0 comments on commit 90e4637

Please sign in to comment.