Revision 75e13060 snf-cyclades-app/synnefo/ui/new_ui/ui/app/components/reveal-modal.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/app/components/reveal-modal.js | ||
---|---|---|
1 | 1 |
App.RevealModalComponent = Ember.Component.extend({ |
2 |
classNames: ['reveal-modal', 'medium'], |
|
3 | 2 |
actions: { |
4 | 3 |
ok: function () { |
5 |
this.sendAction("ok"); |
|
4 |
this.sendAction("ok", this.get('param')); |
|
5 |
$(this.$()[0]).foundation('reveal', 'close'); |
|
6 | 6 |
}, |
7 | 7 |
close: function () { |
8 | 8 |
$(this.$()[0]).foundation('reveal', 'close'); |
Also available in: Unified diff