forked from leftypol/leftypol
trivial fixes to file-selector.js
This commit is contained in:
parent
6f94a06586
commit
765dea599b
3 changed files with 12 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue