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.
26 lines
816 B
26 lines
816 B
define([ |
|
"dojo/_base/declare", |
|
"./_WidgetsInTemplateMixin", |
|
"dojo/i18n!./nls/common", |
|
"dojo/text!./templates/actionBar.html", |
|
"./form/Button" // used by template |
|
], function(declare, _WidgetsInTemplateMixin, strings, actionBarMarkup) { |
|
|
|
return declare("dijit._ConfirmDialogMixin", _WidgetsInTemplateMixin, { |
|
// summary: |
|
// Mixin for Dialog/TooltipDialog with OK/Cancel buttons. |
|
|
|
// HTML snippet for action bar, overrides _DialogMixin.actionBarTemplate |
|
actionBarTemplate: actionBarMarkup, |
|
|
|
// buttonOk: String |
|
// Label of OK button |
|
buttonOk: strings.buttonOk, |
|
_setButtonOkAttr: { node: "okButton", attribute: "label" }, |
|
|
|
// buttonCancel: String |
|
// Label of cancel button |
|
buttonCancel: strings.buttonCancel, |
|
_setButtonCancelAttr: { node: "cancelButton", attribute: "label" } |
|
}); |
|
});
|
|
|