This commit is contained in:
manzerbredes 2016-02-28 20:45:21 +01:00
parent d1991fca2b
commit ef28780fba

View file

@ -17,7 +17,7 @@ mainApp.factory('Compute',[ '$http', 'Identity', function($http, Identity){
var getMachines=function(callback){
var result=$http.post('../server/index.php',
$.param({"token" : Identity.getToken(), "task" : "compute", action:"getImage", serverID:"69d5bcc4-2fab-4634-b0d2-f455fee5b7bd"}));
$.param({"token" : Identity.getToken(), "task" : "compute", "action":"getImage", "serverID":"69d5bcc4-2fab-4634-b0d2-f455fee5b7bd"}));
// Wait and handle the response
result.then(function (response){