Bind to submit event. Bump script loader.

git-svn-id: https://develop.svn.wordpress.org/trunk@10848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-03-27 22:58:53 +00:00
parent ea904a0ba0
commit 64aae34fdc
3 changed files with 7 additions and 2 deletions

View File

@@ -123,6 +123,11 @@ screenOptions = {
var value = $(this).val();
screenOptions.save_screen_option(option, value);
});
$('.screen-option').submit(function() {
var option = $(this).map(function() { return this.id; }).get();
var value = $(this).val();
screenOptions.save_screen_option(option, value);
});
},
save_screen_option : function (option, value) {