From 1112b3bc592dda2d00d8bac68409791627c8b383 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 1 Sep 2017 16:17:01 +0200 Subject: [PATCH] Toggle checkbox action based on its value --- api/js/etemplate/et2_widget_toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_toolbar.js b/api/js/etemplate/et2_widget_toolbar.js index b6da5327a5..0ce398da45 100644 --- a/api/js/etemplate/et2_widget_toolbar.js +++ b/api/js/etemplate/et2_widget_toolbar.js @@ -585,7 +585,7 @@ var et2_toolbar = (function(){ "use strict"; return et2_DOMWidget.extend([et2_II } else if (btn.length > 0) { - btn.toggleClass('toolbar_toggled'+ (typeof action_event.data.toggledClass != 'undefined'?" "+action_event.data.toggledClass:'')); + btn.toggleClass('toolbar_toggled'+ (typeof action_event.data.toggledClass != 'undefined'?" "+action_event.data.toggledClass:''), _value); } } else if (action_event)