From 09fde89a248895329a194021c44aa9004cb7fa97 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=CC=88rn=20Zaefferer?= Date: Sun, 25 Oct 2015 18:07:34 -0400 Subject: [PATCH] Controlgroup: Fix create and destroy for controlgroupLabel Creating the label broke while doing a refactoring, the lack of tests allowed that to go unnoticed. Shouldn't happen again with the extra tests, covering both controlgroupLabel and spinner. --- tests/unit/controlgroup/controlgroup.html | 4 +++- tests/unit/controlgroup/core.js | 13 ++++++++++--- ui/widgets/controlgroup.js | 15 +++++++++++++-- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/tests/unit/controlgroup/controlgroup.html b/tests/unit/controlgroup/controlgroup.html index e150c2c3f..9767381ac 100644 --- a/tests/unit/controlgroup/controlgroup.html +++ b/tests/unit/controlgroup/controlgroup.html @@ -5,7 +5,7 @@ jQuery UI Controlgroup Test Suite - + @@ -28,6 +28,8 @@
+ +