Plugin Directory

Changeset 607270


Ignore:
Timestamp:
10/03/2012 02:11:39 AM (13 years ago)
Author:
mintindeed
Message:

Pulling in latest changes from Github. Adding image.

Location:
pmc-post-savior/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pmc-post-savior/trunk/README.txt

    r592493 r607270  
    1313
    1414PMC 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
     16Github: https://github.com/Penske-Media-Corp/pmc-post-savior
     17
     18WordPress.org: http://wordpress.org/extend/plugins/pmc-post-savior/
     19
     20Image by [The Library of Congress](http://www.flickr.com/photos/library_of_congress/2890279022/).  See link for details.
     21
    1522
    1623== Installation ==
     
    3643== Changelog ==
    3744
     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
    3849= 0.9 =
    3950* Initial beta release.
  • pmc-post-savior/trunk/js/pmc-post-savior.js

    r592493 r607270  
    9393     */
    9494    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
    95105        jQuery("#pmc-post-savior-notice")
     106            .css( "z-index", highest_z_index )
    96107            .stop( true )
    97108            .prepend( message + '<br />' )
     
    132143        pmc_post_savior.login_check();
    133144    }
    134 }) ;
     145});
  • pmc-post-savior/trunk/pmc-post-savior.php

    r592493 r607270  
    22/*
    33Plugin Name: PMC Post Savior
    4 Plugin URI:
     4Plugin URI: https://github.com/Penske-Media-Corp/pmc-post-savior
    55Description: 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
     6Version: 1.0
     7Author: PMC
     8Author URI: http://www.pmc.com/
    79License: GPLv2
    810License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    161163}
    162164
    163 $GLOBALS['pmc_post_savior'] = PMC_Post_Savior::get_instance();
     165PMC_Post_Savior::get_instance();
    164166
    165167// EOF
Note: See TracChangeset for help on using the changeset viewer.