From 1c281889ff1e249ee6ae8dfb9d466973cd574ff9 Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 5 Jan 2014 15:30:46 +0530 Subject: [PATCH] ButtonGroup: add class per style --- source/Ox.UI/js/Form/ButtonGroup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.UI/js/Form/ButtonGroup.js b/source/Ox.UI/js/Form/ButtonGroup.js index 977638fb..be26757b 100644 --- a/source/Ox.UI/js/Form/ButtonGroup.js +++ b/source/Ox.UI/js/Form/ButtonGroup.js @@ -47,6 +47,7 @@ Ox.ButtonGroup = function(options, self) { }) .addClass( 'OxButtonGroup' + + (self.options.style != 'default' ? ' Ox' + Ox.toTitleCase(self.options.style) : '') + (self.options.overlap != 'none' ? ' OxOverlap' + Ox.toTitleCase(self.options.overlap) : '') );