2016-06-02 10:08:25 -07:00
|
|
|
|
define(['jQuery'], function ($) {
|
2015-12-14 08:43:03 -07:00
|
|
|
|
|
2016-06-02 10:08:25 -07:00
|
|
|
|
$.fn.buttonEnabled = function (enabled) {
|
|
|
|
|
|
|
|
|
|
return enabled ? this.attr('disabled', '').removeAttr('disabled') : this.attr('disabled', 'disabled');
|
|
|
|
|
};
|
|
|
|
|
});
|