Changeset 26195 for trunk/src/wp-includes/js/wp-auth-check.js
- Timestamp:
- 11/15/2013 04:41:51 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wp-auth-check.js
r24738 r26195 1 /* global adminpage */ 1 2 // Interim login dialog 2 3 (function($){ 3 var wrap, check,next;4 var wrap, next; 4 5 5 6 function show() { … … 13 14 14 15 frame = $('<iframe id="wp-auth-check-frame" frameborder="0">').attr( 'title', noframe.text() ); 15 frame.load( function( e) {16 frame.load( function() { 16 17 var height, body; 17 18 … … 68 69 69 70 // When on the Edit Post screen, speed up heartbeat after the user logs in to quickly refresh nonces 70 if ( typeof adminpage != 'undefined' && ( adminpage == 'post-php' || adminpage == 'post-new-php' ) 71 &&typeof wp != 'undefined' && wp.heartbeat ) {71 if ( typeof adminpage != 'undefined' && ( adminpage == 'post-php' || adminpage == 'post-new-php' ) && 72 typeof wp != 'undefined' && wp.heartbeat ) { 72 73 73 74 wp.heartbeat.interval( 'fast', 1 ); … … 99 100 schedule(); 100 101 wrap = $('#wp-auth-check-wrap'); 101 wrap.find('.wp-auth-check-close').on( 'click', function( e) {102 wrap.find('.wp-auth-check-close').on( 'click', function() { 102 103 hide(); 103 104 });
Note: See TracChangeset
for help on using the changeset viewer.