Fix bug #16: "add file" hides "show additional options" button
authorChristian Weiske <cweiske@cweiske.de>
Fri, 21 Sep 2012 08:48:31 +0000 (10:48 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 21 Sep 2012 08:48:31 +0000 (10:48 +0200)
data/templates/edit-add.htm

index d86b2c5..4713b5e 100644 (file)
@@ -18,6 +18,7 @@ $(document).ready(function() {
             .replace(/###/g, $('.filegroup').length)
         );
         toggleAdditional($('.filegroup:visible .additional-btn:last')[0], 0);
+        jQuery($('.filegroup:visible .additional-btn:last')[0]).show();
 
         $('html, body').animate({
             scrollTop: $('.filegroup:visible:last').offset().top