Changeset 803110
- Timestamp:
- 11/12/2013 02:12:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jetpack/trunk/modules/publicize/assets/publicize.js
r784933 r803110 70 70 71 71 $.post( ajaxurl, 'action=publicize_'+ service + '_options_save&connection=' + connection + '&selected_id=' + id + '&token=' + token + '&type=' + type + '&_wpnonce=' + nonce + '&global=' + global_conn + '&global_nonce=' + global_nonce, function( response ) { 72 var frameNonce; 72 73 tb_remove(); 73 top.location = 'options-general.php?page=sharing'; 74 frameNonce = document.location.search.match( /frame-nonce=([^&]+)/ ); 75 if ( /inside-newdash=1/.test( document.location.search ) && frameNonce ) { 76 document.location = 'options-general.php?page=sharing&inside-newdash=1&frame-nonce' + frameNonce[1]; 77 } else { 78 top.location = 'options-general.php?page=sharing'; 79 } 74 80 } ); 75 81
Note: See TracChangeset
for help on using the changeset viewer.