WordPress.org

Plugin Directory

Changeset 575836


Ignore:
Timestamp:
07/22/12 23:41:52 (21 months ago)
Author:
bpetty
Message:

Added form submit handler to actually save the new content, and tested with WP 2.8 through 3.4.

Location:
better-file-editor/branches/development
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • better-file-editor/branches/development/js/wp-ace.js

    r575587 r575836  
    307307var wp_session = env.split.setSession(wp_session); 
    308308 
     309// Tie in the form submission event so that we can copy the document back 
     310// to the official form input WordPress is expecting the new source to be in. 
     311jQuery('#template').submit(function () { 
     312    textarea.value = wp_session.getValue(); 
     313    return true; 
     314}); 
     315 
    309316 
    310317 
  • better-file-editor/branches/development/readme.txt

    r575587 r575836  
    11=== Better File Editor === 
    2 Contributors: bpetty, logikal16 
     2Contributors: bpetty 
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=bryan%40ibaku%2enet&item_name=WordPress%20Better%20File%20Editor%20Plugin 
    44Tags: plugin, theme, editor, code, syntax, highlighter 
    55Version: 2.0 
    6 Requires at least: 3.2 
     6Requires at least: 2.8 
    77Tested up to: 3.4 
    88Stable tag: 2.0 
Note: See TracChangeset for help on using the changeset viewer.