N°931 AttributeTagSet widget js wrapper : fix remaining console.debug call, and fix indentations

This commit is contained in:
Pierre Goiffon
2018-10-08 17:56:34 +02:00
parent 950ffcde2b
commit 860bb6d615

View File

@@ -166,7 +166,9 @@ $.widget('itop.set_widget',
_bindEvents: function($widgetElement) { _bindEvents: function($widgetElement) {
var setWidget = this; var setWidget = this;
$widgetElement.bind("update", function() { $widgetElement.bind("update", function() {
if (setWidget.options.isDebug) {
console.debug("update event in Selectize !", this); console.debug("update event in Selectize !", this);
}
var $this = $(this); var $this = $(this);
if ($this.prop("disabled")) { if ($this.prop("disabled")) {
setWidget.disable(); setWidget.disable();