root / snf-cyclades-app / synnefo / ui / new_ui / ui / app / components / reveal-modal.js @ be5195f3
History | View | Annotate | Download (360 Bytes)
1 |
App.RevealModalComponent = Ember.Component.extend({ |
---|---|
2 |
classNames: ['inner-modal'], |
3 |
actions: {
|
4 |
ok: function () { |
5 |
this.sendAction("ok", this.get('param')); |
6 |
$(this.$()[0]).foundation('reveal', 'close'); |
7 |
}, |
8 |
close: function () { |
9 |
$(this.$()[0]).foundation('reveal', 'close'); |
10 |
}, |
11 |
}, |
12 |
}); |