Skip to content

Commit

Permalink
four dialog boxes in web UI got titles
Browse files Browse the repository at this point in the history
  • Loading branch information
liuch committed Jul 25, 2022
1 parent 1b2c041 commit 7a38a69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class DomainEditDialog extends ModalDialog {
if (!params["new"]) {
ba.splice(1, 0, "delete");
}
super({ buttons: ba });
super({ title: "Domain settings", buttons: ba });
this._data = params || {};
this._content = null;
this._table = null;
Expand Down
2 changes: 1 addition & 1 deletion js/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class StatusColumn extends ITableCell {

class ReportListSettingsDialog extends ModalDialog {
constructor(params) {
super({ buttons: [ "apply", "reset" ] });
super({ title: "List display settings", buttons: [ "apply", "reset" ] });
this._data = params || {};
this._content = null;
this._ui_data = [
Expand Down
2 changes: 1 addition & 1 deletion js/logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class LogsResultCell extends ITableCell {

class LogItemDialog extends ModalDialog {
constructor(data) {
super({ buttons: [ "close" ] });
super({ title: "Log record", buttons: [ "close" ] });
this._data = data;
this._table = null;
this._res_el = null;
Expand Down
2 changes: 1 addition & 1 deletion js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class Settings {

class SettingEditDialog extends ModalDialog {
constructor(param) {
super({ buttons: [ "ok", "close" ] });
super({ title: "Setting dialog", buttons: [ "ok", "close" ] });
this._data = param || {};
this._content = null;
this._table = null;
Expand Down

0 comments on commit 7a38a69

Please sign in to comment.