Make WordPress Core

Ticket #6979: visibility-fix.diff

File visibility-fix.diff, 808 bytes (added by filosofo, 15 years ago)
  • wp-admin/includes/media.php

     
    12561256                        },
    12571257                        debug: false
    12581258                });
    1259         $("#flash-browse-button").bind( "click", function(){swfu.selectFiles();});
    12601259});
    12611260//-->
    12621261</script>
  • wp-admin/media-upload.php

     
    7171                updateMediaForm();
    7272                post_id = 0;
    7373                shortform = 1;
    74                 $('body:last div:has(embed), body:last div:has(object)').css({'visibility':'hidden','marginTop':'-1px'});
    7574        });
    7675        </script>
    7776        <input type="hidden" name="post_id" id="post_id" value="0" />