Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / ember / components / reveal-modal.js @ 47eca5c5

History | View | Annotate | Download (297 Bytes)

1
App.RevealModalComponent = Ember.Component.extend({
2
    classNames: ['reveal-modal', 'medium'],
3
    actions: {
4
        ok: function () {
5
            this.get("okCallback")();
6
        },
7
        close: function () {
8
            $(this.$()[0]).foundation('reveal', 'close');                
9
        },
10
    },
11
});