[BUGFIX] radio boxes not working fine
authorAlex Kellner <alexander.kellner@in2code.de>
Thu, 11 Dec 2014 22:34:08 +0000 (23:34 +0100)
committerAlex Kellner <alexander.kellner@in2code.de>
Thu, 11 Dec 2014 22:34:08 +0000 (23:34 +0100)
related: #63661

Resources/Public/Js/PowermailCond.js

index caf6ead..5c6d9c3 100644 (file)
@@ -67,7 +67,7 @@ function fieldValue(fieldUid, fieldValue) {
                .val(fieldValue);
 
        // check checkboxes and radiobuttons
-       fieldWrap.find('input[type="checkbox"]').each(function() {
+       fieldWrap.find('input[type="checkbox"], input[type="radio"]').each(function() {
                if ($(this).prop('value') == fieldValue) {
                        $(this).prop('checked', 'checked');
                }