There was an error while loading. Please reload this page.
1 parent cfdeafc commit c973ae8Copy full SHA for c973ae8
README.textile
@@ -1,5 +1,9 @@
1
h3. Changelog
2
3
+h4. 1.7.2
4
+
5
+* Submit on change if input type select and no submit button defined ("gregpyp":http://github.com/gregpyp)
6
7
h4. 1.7.1
8
9
* Namespace default event as click.editable ("Zangetsu":http://github.com/Zangetsu)
jquery.jeditable.js
@@ -513,6 +513,13 @@
513
$(this).attr('selected', 'selected');
514
}
515
});
516
+ /* Submit on change if no submit button defined. */
517
+ if (!settings.submit) {
518
+ var form = this;
519
+ $('select', this).change(function() {
520
+ form.submit();
521
+ });
522
+ }
523
524
525
},
0 commit comments