cockpit/js/instance.js in cpee-1.3.220 vs cockpit/js/instance.js in cpee-1.3.221
- old
+ new
@@ -83,12 +83,12 @@
var ts = $(this).text();
$('#predefinedtestsets').append($("<div class='menuitem'></div>").text(ts));
});
var q = $.parseQuerySimple();
if (q.min || q.min == "") {
- ui_toggle_vis_tab($('#instance ui-tabbar'));
- ui_toggle_vis_tab($('#parameters ui-tabbar'));
+ ui_toggle_vis_tab($('#instance'));
+ ui_toggle_vis_tab($('#parameters'));
}
if (q.monitor && q.load) {
$("input[name=instance-url]").val(q.monitor);
$("#predefinedtestsets div.menuitem").each(function(k,v){
if ($(v).text() == q.load) { $(v).attr('data-selected','selected'); }
@@ -206,10 +206,10 @@
$("#current-instance-callbacks").text('C');
var q = $.parseQuerySimple();
history.replaceState({}, '', '?' + (q.min || q.min=="" ? "min&" : "") + 'monitor='+url);
// Change url to return to current instance when reloading (because new subscription is made)
- $("input[name=votecontinue]").removeAttr('checked');
+ $("input[name=votecontinue]").prop( "checked", false );
subscription_state = 'less';
$.ajax({
type: "POST",
url: url + "/notifications/subscriptions/",