- /**
- * Prepare modal
- * @protected
- */
- _prepareDialog: function () {
- var self = this;
-
- this.options.dialog = $('<div class="ui-dialog-content ui-widget-content"></div>').modal({
- type: 'popup',
- modalClass: 'edit-order-popup',
- title: $.mage.__('Edit Order'),
- buttons: [{
- text: $.mage.__('Ok'),
- 'class': 'action-primary',
-
- /** @inheritdoc */
- click: function () {
- self.redirect();
- }
- }]
- });
- }