Revision c5e38339 ui/templates/machines.html

b/ui/templates/machines.html
234 234
        type: "GET",
235 235
        //async: false,
236 236
        dataType: "json",
237
        error: function(data) {
238
                    $("#spinner").hide();
239
                    alert('{% trans "Cannot connect to the backend! Please inform the admins" %}');
240
                              },
237 241
        success: function(data) {
238 242
            if ($(".running a.name").toArray().length + $(".terminated a.name").toArray().length == 0) {
239 243
            
......
508 512
		    },
509 513
	    //async: false,
510 514
	    dataType: "json",
511
	    success: function() {}
515
	    success: function() {},
512 516
    });
513 517
    return false;
514 518
}

Also available in: Unified diff