Revision 38706719 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/ember/controllers/vm.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/ember/controllers/vm.js | ||
---|---|---|
28 | 28 |
}, |
29 | 29 |
|
30 | 30 |
dettachVolume: function(volume){ |
31 |
alert('I am now dettaching this volume'+ volume); |
|
32 | 31 |
this.get('model').get('volumes').removeObject(volume); |
33 | 32 |
}, |
34 | 33 |
|
34 |
saveModel: function(){ |
|
35 |
this.get('model').save(); |
|
36 |
}, |
|
37 |
|
|
38 |
|
|
35 | 39 |
modalConnect: function(){ |
36 | 40 |
var component = Ember.View.views["modal-connect"]; |
37 | 41 |
component.set('message', 'connect to your <3 ' + this.get('model').get('name')); |
Also available in: Unified diff