Added bootstrap-colorpicker

This commit is contained in:
Raphael Michel
2017-05-07 11:54:15 +02:00
parent 3de85975d6
commit c98b0aac90
12 changed files with 1576 additions and 2 deletions

View File

@@ -187,6 +187,12 @@ $(function () {
earlier_field.on("dp.change", update);
});
$(".colorpickerfield").colorpicker({
format: 'hex',
align: 'left',
customClass: 'colorpicker-2x'
});
$("input[data-checkbox-dependency]").each(function () {
var dependent = $(this),
dependency = $($(this).attr("data-checkbox-dependency")),