From e882c76e69496a36223a1f3323a957ce1660e981 Mon Sep 17 00:00:00 2001
From: Stephen Morton Output
-
+
+
-
+
@@ -121,7 +122,7 @@ Output
+
diff --git a/src/plugins/bt-checkbox/plugin.js b/src/plugins/bt-checkbox/plugin.js
index 7a7311c2..7f811bf9 100644
--- a/src/plugins/bt-checkbox/plugin.js
+++ b/src/plugins/bt-checkbox/plugin.js
@@ -31,11 +31,7 @@ QueryBuilder.define('bt-checkbox', function(options) {
var color = filter.colors[key] || filter.colors._def_ || options.color;
var id = name + '_' + (i++);
- h.value+= '\
-
' +
'' +
diff --git a/tests/plugins-gui.module.js b/tests/plugins-gui.module.js
index 00a131a1..b7f91fe4 100644
--- a/tests/plugins-gui.module.js
+++ b/tests/plugins-gui.module.js
@@ -131,9 +131,9 @@ $(function(){
$b.queryBuilder('validate');
assert.equal(
- $('#builder_group_0 .error-container').eq(0).data('toggle'),
+ $('#builder_group_0 .error-container').eq(0).data('bs-toggle'),
'tooltip',
- 'Should have added data-toggle="tooltip" in the template'
+ 'Should have added data-bs-toggle="tooltip" in the template'
);
assert.equal(
@@ -201,7 +201,7 @@ $(function(){
});
assert.ok(
- $('#builder_rule_0 button.filter-description').data('toggle') == 'popover',
+ $('#builder_rule_0 button.filter-description').data('bs-toggle') == 'popover',
'Rule should contain a new button enabled with Popover'
);
@@ -216,7 +216,7 @@ $(function(){
});
assert.ok(
- $('#builder_rule_0 button.filter-description').data('toggle') == 'bootbox',
+ $('#builder_rule_0 button.filter-description').data('bs-toggle') == 'bootbox',
'Rule should contain a new button enabled with Bootbox'
);
});
From 60e5e818b3a6dda258f573ac679e4ea0ef4a5e3b Mon Sep 17 00:00:00 2001
From: Stephen Morton Output
-
+
@@ -146,7 +146,7 @@ Output
plugins: {
'bt-tooltip-errors': { delay: 100 },
'sortable': null,
- 'filter-description': { mode: 'bootbox' },
+ // 'filter-description': { mode: 'bootbox' },
'bt-selectpicker': null,
// 'chosen-selectpicker': null,
'unique-filter': null,