Fixed: smGlue not included when selecting a controller

This commit is contained in:
bergware
2022-05-23 18:18:31 +02:00
parent 0a66bb862e
commit 125f1591bf
+1
View File
@@ -173,6 +173,7 @@ function setGlue(form,reset) {
$('input[name="smDevice"]').val('').hide();
$('#helptext').hide();
}
form.smGlue.value = form.smType.selectedIndex>0 ? data[n]['glue'] : "<?=$var['smGlue']?>";
}
function prepareFS(form,cookie,value) {
if ($(form).find('input[type="submit"]').val()=='Cancel') $.removeCookie(cookie); else $.cookie(cookie,value);