Changeset 2877

Show
Ignore:
Timestamp:
11/25/08 01:40:52 (6 weeks ago)
Author:
dmondark
Message:

Reverting r2857. The change completely left the Publish button non-functional and moreover made the Save button _publishes_ post instead. This is exactly contrary to what #555 suggested. Please test before committing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/system/admin/publish.php

    r2857 r2877  
    2020 
    2121    <?php if(isset($statuses['published']) && $post->status != $statuses['published']) : ?> 
    22     $('.container.buttons').prepend($('<input type="button" name="submit" id="publish" class="button publish" tabindex="5" value="<?php _e('Publish'); ?>">')); 
     22    $('.container.buttons').prepend($('<input type="submit" name="submit" id="publish" class="button publish" tabindex="5" value="<?php _e('Publish'); ?>">')); 
    2323    $('#publish').click( function() { 
    2424        $('#status').val(<?php echo $statuses['published']; ?>);