cockpit/js/instance.js in cpee-2.0.28 vs cockpit/js/instance.js in cpee-2.0.30

- old
+ new

@@ -103,9 +103,14 @@ $(res).each(function(){ if (this.type == 'file') { $('#templates').append($("<div class='menuitem'></div>").text(this.name.replace(/\.xml/,''))); } }); + }, + error: function() { + $("button[name=loadtestset]").attr('disabled','disabled'); + }, + complete: function() { var q = $.parseQuerySimple(); if (q.min || q.min == "") { uidash_toggle_vis_tab($('#instance')); uidash_toggle_vis_tab($('#parameters')); }