trivial fixes to file-selector.js

This commit is contained in:
czaks 2015-03-31 06:50:05 +02:00
parent 6f94a06586
commit 765dea599b
3 changed files with 12 additions and 8 deletions

View file

@ -25,6 +25,7 @@ $(function(){
$("#upload_url").hide();
$("#upload_embed").hide();
$(".add_image").hide();
$(".dropzone-wrap").hide();
$('[id^=upload_file]').each(function(i, v) {
$(v).val('');
@ -40,6 +41,7 @@ $(function(){
enable_file = function() {
disable_all();
$("#upload").show();
$(".dropzone-wrap").show();
$(".file_separator").show();
$("[id^=upload_file]").show();
$(".add_image").show();