You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
648 B
23 lines
648 B
var EditLineWidth = function (parent) {
|
|
this.Parent = parent;
|
|
this.Dialog = $('#edit-line-width-dialog');
|
|
|
|
this.Setup = function () {
|
|
$("#width-sure-btn").on("click", this.OnSureButtonClick.bind(this));
|
|
$("#width-cancel-btn").on("click", this.HideDialog.bind(this));
|
|
$("#width-close").on("click", this.HideDialog.bind(this));
|
|
};
|
|
|
|
this.Show = function (data) {
|
|
this.Dialog.show();
|
|
$("#width").textbox('setValue', data.Value);
|
|
};
|
|
|
|
this.OnSureButtonClick = function () {
|
|
this.Dialog.hide();
|
|
};
|
|
|
|
this.HideDialog = function () {
|
|
this.Dialog.hide();
|
|
};
|
|
};
|