mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Have media-new.php return simple rows of basic attachment data, with an 'Edit' link next to each taking them to post.php (in a new window). Not ideal, but this is largely a fallback screen at this point.
This is bolted on to existing code, the vast majority of which is destined to be ripped out in 3.6 once things settle. see #22083. git-svn-id: https://develop.svn.wordpress.org/trunk@22755 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -112,6 +112,8 @@ function setResize(arg) {
|
||||
|
||||
function prepareMediaItem(fileObj, serverData) {
|
||||
var f = ( typeof shortform == 'undefined' ) ? 1 : 2, item = jQuery('#media-item-' + fileObj.id);
|
||||
if ( f == 2 && shortform > 2 )
|
||||
f = shortform;
|
||||
|
||||
try {
|
||||
if ( typeof topWin.tb_remove != 'undefined' )
|
||||
@@ -429,7 +431,7 @@ jQuery(document).ready(function($){
|
||||
$('#drag-drop-area').unbind('.wp-uploader');
|
||||
}
|
||||
|
||||
if ( up.runtime == 'html4' )
|
||||
if ( up.runtime == 'html4' )
|
||||
$('.upload-flash-bypass').hide();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user