mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°931 AttributeTagSet widget js wrapper : fix remaining console.debug call, and fix indentations
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user