mirror of https://github.com/rancher/ui.git
20 lines
427 B
JavaScript
20 lines
427 B
JavaScript
import Overlay from 'ui/overlay/view';
|
|
import { alternateLabel } from 'ui/utils/platform';
|
|
|
|
export default Overlay.extend({
|
|
templateName: 'confirm-delete',
|
|
classNames: ['overlay-small'],
|
|
|
|
alternateLabel: alternateLabel,
|
|
|
|
actions: {
|
|
overlayClose: function() {
|
|
this.get('controller').send('cancelDelete');
|
|
},
|
|
|
|
overlayEnter: function() {
|
|
this.get('controller').send('confirmDelete');
|
|
}
|
|
}
|
|
});
|