190e8449ce
- rename the directory from webgui to Phi - let the webserver's root point to Phi instead of Docs - redirect old /gui/ url to the new location (/)
31 lines
682 B
JavaScript
Executable file
31 lines
682 B
JavaScript
Executable file
/*global define*/
|
|
define(
|
|
|
|
[
|
|
'./bindingHandler',
|
|
'./utils',
|
|
'jquery-ui/button'
|
|
],
|
|
|
|
function (BindingHandler, utils) {
|
|
|
|
'use strict';
|
|
|
|
var Button = function () {
|
|
/// <summary>Constructor.</summary>
|
|
|
|
BindingHandler.call(this, 'button');
|
|
|
|
this.options = ['disabled', 'icons', 'label', 'text'];
|
|
this.events = ['create'];
|
|
this.hasRefresh = true;
|
|
};
|
|
|
|
Button.prototype = utils.createObject(BindingHandler.prototype);
|
|
Button.prototype.constructor = Button;
|
|
|
|
utils.register(Button);
|
|
|
|
return Button;
|
|
}
|
|
);
|