Revision bbae3e45 snf-cyclades-app/synnefo/ui/static/snf/js/models.js

b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js
1438 1438
                case 'reboot':
1439 1439
                    this.__make_api_call(this.get_action_url(), // vm actions url
1440 1440
                                         "create", // create so that sync later uses POST to make the call
1441
                                         {reboot:{type:"HARD"}}, // payload
1441
                                         {reboot:{}}, // payload
1442 1442
                                         function() {
1443 1443
                                             // set state after successful call
1444 1444
                                             self.state("REBOOT"); 

Also available in: Unified diff