PluginProbe
Edit Flow / trunk
Edit Flow vtrunk
0.11.1 0.11.0 0.7.2 0.7.3 0.7.4 0.7.5 0.7.6 0.8 0.8.1 0.8.2 0.9 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5 0.9.6 0.9.7 0.9.8 0.9.9 trunk 0.1.5 0.10.0 0.10.1 0.10.2 All 44 releases
edit-flow / common / js / screen-options.js

screen-options.js in Edit Flow trunk, at common/js/screen-options.js

13 lines 405 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 jQuery(function($){
2 function performAutosave(){
3 var panel = $(this).parents('div.custom-options-panel');
4 var params = panel.find('input, select, textarea').serialize();
5 params = params + '&action=save_settings-' + panel.attr('id');
6 $.post(
7 'admin-ajax.php',
8 params
9 );
10 }
11
12 $('#screen-options-wrap div.requires-autosave').find('input, select, textarea').on( 'change', performAutosave);
13 });