Skip to content

Commit ad081b9

Browse files
committed
Adding CSS for color picker to bform
1 parent 48d6b9b commit ad081b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/Utility/View/bForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ public function setColorRequirements()
266266
static $exists = false;
267267

268268
if (!$exists) {
269+
$this->addToSection('css', HTML::style('vendor/bootstrap-colorpicker/css/bootstrap-colorpicker.css'));
269270
$this->addToSection('jsInclude', HTML::script('vendor/bootstrap-colorpicker/js/bootstrap-colorpicker.js'));
270271
$this->addToSection('onReadyJs', '
271272
$(\'.colorpicker\').colorpicker().on(\'changeColor\', function(ev){

0 commit comments

Comments
 (0)