Changeset 4340 for trunk/wp-admin/upload-js.php
- Timestamp:
- 10/04/2006 05:19:10 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/upload-js.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload-js.php
r4312 r4340 30 30 $$('a.file-link').each( function(i) { 31 31 var id = i.id.split('-').pop(); 32 i.onclick = function(e) { theFileList .imageView(id, e); }32 i.onclick = function(e) { theFileList[ 'inline' == theFileList.style ? 'imageView' : 'editView' ](id, e); } 33 33 } ); 34 34 }, … … 118 118 var h = ''; 119 119 120 h += "<form id='upload-file' method='post' action='upload.php?style=inline&tab=upload&post_id=" + this.postID + "'>"; 120 var action = 'upload.php?style=' + this.style + '&tab=upload'; 121 if ( this.postID ) 122 action += '&post_id=' + this.postID; 123 h += "<form id='upload-file' method='post' action='" + action + "'>"; 121 124 h += "<div id='file-title'>" 122 125 if ( !this.currentImage.thumb )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)