From 80bba66584494e2cb2e7f9fd538201fd13411ec2 Mon Sep 17 00:00:00 2001 From: Andreas Plesch Date: Mon, 5 Sep 2016 10:01:05 -0400 Subject: [PATCH] make tags xhtml compatible - changed to - removed second value attribute value=""; xhtml does not allow duplicated attributes (was there a reason for the second one?) - added missing end tag to ') + $input = $('') .attr('name', 'context-menu-input-' + key) .val(item.value || '') .appendTo($label); @@ -1196,7 +1196,7 @@ break; case 'checkbox': - $input = $('') + $input = $('') .attr('name', 'context-menu-input-' + key) .val(item.value || '') .prop('checked', !!item.selected) @@ -1204,7 +1204,7 @@ break; case 'radio': - $input = $('') + $input = $('') .attr('name', 'context-menu-input-' + item.radio) .val(item.value || '') .prop('checked', !!item.selected) @@ -1212,7 +1212,7 @@ break; case 'select': - $input = $('') .attr('name', 'context-menu-input-' + key) .appendTo($label); if (item.options) {