Permalink
Browse files

provisional fix for dialog view.

  • Loading branch information...
naoaki011 committed Mar 25, 2012
1 parent 0f1c866 commit 79d21fa8728d23d03cef17c09f343790a57f117d
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/UploadPrefs/lib/UploadPrefs/Plugin.pm
@@ -98,7 +98,11 @@ HTML
var reader = new FileReader();
reader.onload = function (e) {
jQuery('#image_preview').attr('src', e.target.result);
<mt:if name="dialog">
jQuery('#preview_block').attr('style', 'display:block;margin-left:460px;margin-top:-40px;padding-bottom:40px;');
<mt:else>
jQuery('#preview_block').attr('style', 'display:block;margin-left:640px;');
</mt:if>
};
reader.readAsDataURL(input.files[0]);
}

0 comments on commit 79d21fa

Please sign in to comment.