From 9ff3d8fb90b53731401744a9f077c78b27aef1e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Tue, 6 Oct 2015 16:07:33 +0200 Subject: [PATCH] Controlgroup: Fix refresh method tests by adding text content to button In IE8, the empty elements cause issues. Adding text content makes sense, since empty elements are useless. --- tests/unit/controlgroup/methods.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/controlgroup/methods.js b/tests/unit/controlgroup/methods.js index 77715f8b8..16f594fa6 100644 --- a/tests/unit/controlgroup/methods.js +++ b/tests/unit/controlgroup/methods.js @@ -35,7 +35,7 @@ test( "enable", function( assert ) { var tests = { "checkboxradio": "", "selectmenu": "", - "button": "" }, orientations = { "horizontal": [ @@ -108,7 +108,7 @@ $.each( tests, function( widget, html ) { // Add a label for each element and then append the element to the control group for ( i = 0; i < 4; i++ ) { control = $( html ).attr( "id", "id" + i ) - .add( $( "