Changeset 20191
- Timestamp:
- 03/15/2012 01:30:28 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/inline-edit-post.dev.js
r19929 r20191 118 118 // support multi taxonomies? 119 119 tax = 'post_tag'; 120 $('tr.inline-editor textarea[name="tax_input['+tax+']"]').suggest( 'admin-ajax.php?action=ajax-tag-search&tax='+tax, { delay: 500, minchars: 2, multiple: true, multipleSep: inlineEditL10n.comma + ' ' } );120 $('tr.inline-editor textarea[name="tax_input['+tax+']"]').suggest( ajaxurl + '?action=ajax-tag-search&tax=' + tax, { delay: 500, minchars: 2, multiple: true, multipleSep: inlineEditL10n.comma + ' ' } ); 121 121 } 122 122 $('html, body').animate( { scrollTop: 0 }, 'fast' ); … … 194 194 } 195 195 196 textarea.suggest( 'admin-ajax.php?action=ajax-tag-search&tax='+taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: inlineEditL10n.comma + ' ' } );196 textarea.suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: inlineEditL10n.comma + ' ' } ); 197 197 }); 198 198 … … 252 252 253 253 // make ajax request 254 $.post( 'admin-ajax.php', params,254 $.post( ajaxurl, params, 255 255 function(r) { 256 256 $('table.widefat .inline-edit-save .waiting').hide(); -
trunk/wp-admin/js/inline-edit-tax.dev.js
r18222 r20191 74 74 75 75 // make ajax request 76 $.post( 'admin-ajax.php', params,76 $.post( ajaxurl, params, 77 77 function(r) { 78 78 var row, new_id; -
trunk/wp-includes/js/plupload/handlers.dev.js
r20114 r20191 137 137 // Tell the server to delete it. TODO: handle exceptions 138 138 jQuery.ajax({ 139 url: 'admin-ajax.php',139 url: ajaxurl, 140 140 type: 'post', 141 141 success: deleteSuccess, … … 155 155 // Tell the server to untrash it. TODO: handle exceptions 156 156 jQuery.ajax({ 157 url: 'admin-ajax.php',157 url: ajaxurl, 158 158 type: 'post', 159 159 id: fileObj.id, -
trunk/wp-includes/js/swfupload/handlers.dev.js
r18484 r20191 97 97 // Tell the server to delete it. TODO: handle exceptions 98 98 jQuery.ajax({ 99 url: 'admin-ajax.php',99 url: ajaxurl, 100 100 type: 'post', 101 101 success: deleteSuccess, … … 115 115 // Tell the server to untrash it. TODO: handle exceptions 116 116 jQuery.ajax({ 117 url: 'admin-ajax.php',117 url: ajaxurl, 118 118 type: 'post', 119 119 id: fileObj.id,
Note: See TracChangeset
for help on using the changeset viewer.