mirror of https://github.com/rancher/ui.git
18 lines
458 B
JavaScript
18 lines
458 B
JavaScript
import Overlay from "ui/overlay/view";
|
|
import { addAction } from 'ui/utils/add-view-action';
|
|
|
|
export default Overlay.extend({
|
|
actions: {
|
|
addServiceLink: addAction('addServiceLink', '.service-link'),
|
|
addTargetIp: addAction('addTargetIp', '.target-ip'),
|
|
|
|
overlayClose: function() {
|
|
this.get('controller').send('cancel');
|
|
},
|
|
|
|
overlayEnter: function() {
|
|
this.get('controller').send('save');
|
|
},
|
|
}
|
|
});
|