Changeset 607270
- Timestamp:
- 10/03/2012 02:11:39 AM (13 years ago)
- Location:
- pmc-post-savior/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
js/pmc-post-savior.js (modified) (2 diffs)
-
pmc-post-savior.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pmc-post-savior/trunk/README.txt
r592493 r607270 13 13 14 14 PMC Post Savior checks every 15 seconds to see if you're still logged in. If you are not, it presents a pop-up window so that you can log back in without losing your work. 15 16 Github: https://github.com/Penske-Media-Corp/pmc-post-savior 17 18 WordPress.org: http://wordpress.org/extend/plugins/pmc-post-savior/ 19 20 Image by [The Library of Congress](http://www.flickr.com/photos/library_of_congress/2890279022/). See link for details. 21 15 22 16 23 == Installation == … … 36 43 == Changelog == 37 44 45 = 1.0 = 46 * Fix issue where login prompt didn't show in full-screen edit mode. 47 * No longer instantiate into a global. Unnecessary since the class is already a singleton. Props JJJ. 48 38 49 = 0.9 = 39 50 * Initial beta release. -
pmc-post-savior/trunk/js/pmc-post-savior.js
r592493 r607270 93 93 */ 94 94 notification: function( message ) { 95 // Calculate the highest z-index on the page, so that this can overlay 96 // on top of it 97 var highest_z_index = jQuery( "#pmc-post-savior-notice" ).css( "z-index" ); 98 jQuery( "body" ).find( "*" ).each( function() { 99 var this_z_index = jQuery( this ).css( "z-index" ); 100 if ( "auto" !== this_z_index && this_z_index > highest_z_index ) { 101 highest_z_index = this_z_index; 102 } 103 } ); 104 95 105 jQuery("#pmc-post-savior-notice") 106 .css( "z-index", highest_z_index ) 96 107 .stop( true ) 97 108 .prepend( message + '<br />' ) … … 132 143 pmc_post_savior.login_check(); 133 144 } 134 }) ;145 }); -
pmc-post-savior/trunk/pmc-post-savior.php
r592493 r607270 2 2 /* 3 3 Plugin Name: PMC Post Savior 4 Plugin URI: 4 Plugin URI: https://github.com/Penske-Media-Corp/pmc-post-savior 5 5 Description: PMC Post Savior checks every 15 seconds to see if you're still logged in. If you are not, it presents a pop-up window so that you can log back in without losing your work. 6 Version: 0.9 6 Version: 1.0 7 Author: PMC 8 Author URI: http://www.pmc.com/ 7 9 License: GPLv2 8 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 161 163 } 162 164 163 $GLOBALS['pmc_post_savior'] =PMC_Post_Savior::get_instance();165 PMC_Post_Savior::get_instance(); 164 166 165 167 // EOF
Note: See TracChangeset
for help on using the changeset viewer.