diff --git a/Resources/public/js/comur.imagelibrary.js b/Resources/public/js/comur.imagelibrary.js index 871e25f5..600cfb5b 100644 --- a/Resources/public/js/comur.imagelibrary.js +++ b/Resources/public/js/comur.imagelibrary.js @@ -105,8 +105,12 @@ function destroyImageManager(){ $('#image_upload_file').fileupload('destroy'); destroyJCrop(); $('#image_crop_go_now').unbind('click'); - $('#image_preview').html('

Please select or upload an image

'); + $('#image_preview').html('

Please select or upload an image

'); + $('#selected_image').val(''); + $('#image_crop_go_now').addClass('hidden'); $('#image_crop_cancel').addClass('hidden'); + $('#image_upload_tabs a:first').tab('show'); + } var api;