r3569 committed - Button: Renamed buttons plugin to buttonset and made it work with alre...
Revision: 3569
Author: scott.gonzalez
Date: Wed Dec 30 19:05:02 2009
Log: Button: Renamed buttons plugin to buttonset and made it work with
already initialized buttons.
http://code.google.com/p/jquery-ui/source/detail?r=3569
Modified:
/branches/dev/ui/jquery.ui.button.js
=======================================
--- /branches/dev/ui/jquery.ui.button.js Wed Dec 30 14:10:58 2009
+++ /branches/dev/ui/jquery.ui.button.js Wed Dec 30 19:05:02 2009
@@ -177,10 +177,10 @@
}
});
-$.widget("ui.buttons", {
+$.widget("ui.buttonset", {
_init: function() {
this.element.addClass("ui-button-set");
- this.buttons =
this.element.find(':button, :submit, :reset, :checkbox, :radio, a')
+ this.buttons =
this.element.find(':button, :submit, :reset, :checkbox, :radio,
a, .ui-button')
.button()
.map(function() {
return $(this).button('widget')[0];
--