Changeset 24743
- Timestamp:
- 07/18/2013 09:33:59 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
wp-admin/css/wp-admin.css (modified) (1 diff)
-
wp-admin/edit-form-advanced.php (modified) (1 diff)
-
wp-includes/js/autosave.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/css/wp-admin.css
r24734 r24743 2994 2994 } 2995 2995 2996 #lost-connection-notice .spinner { 2997 display: block; 2998 float: left; 2999 margin: 0 5px 0 0; 3000 } 3001 3002 .rtl #lost-connection-notice .spinner { 3003 float: right; 3004 margin: 0 0 0 5px; 3005 } 3006 2996 3007 #titlediv { 2997 3008 position: relative; -
trunk/wp-admin/edit-form-advanced.php
r24586 r24743 314 314 <?php endif; ?> 315 315 <div id="lost-connection-notice" class="error hidden"> 316 <p><?php _e("You have lost your connection with the server, and saving has been disabled. This message will vanish once you've reconnected."); ?></p> 316 <p><span class="spinner"></span> <?php _e( '<strong>Connection lost.</strong> Saving has been disabled until you’re reconnected.' ); ?> 317 <span class="hide-if-no-sessionstorage"><?php _e( 'We’re backing up this post in your browser, just in case.' ); ?></span> 318 </p> 317 319 </div> 318 320 -
trunk/wp-includes/js/autosave.js
r24710 r24743 145 145 $(document).on('heartbeat-connection-lost.autosave', function( e, error ) { 146 146 if ( 'timeout' === error ) { 147 $('#lost-connection-notice').show(); 147 var notice = $('#lost-connection-notice'); 148 if ( ! wp.autosave.local.hasStorage ) { 149 notice.find('.hide-if-no-sessionstorage').hide(); 150 } 151 notice.show(); 148 152 autosave_disable_buttons(); 149 153 }
Note: See TracChangeset
for help on using the changeset viewer.