var $dropdownMenu = this._container.children('.dropdownMenu');
$dropdownMenu.children('.jsDropdownPlaceholder').remove();
$('' + data.returnValues.template).prependTo($dropdownMenu);
+
+ this._after($dropdownMenu);
}
else {
this._container.removeClass('dropdown').empty();
// remove badge
this._container.find('.badge').remove();
}
- }
+ },
+
+ /**
+ * Execute actions after the dropdown menu has been populated.
+ *
+ * @param object dropdownMenu
+ */
+ _after: function(dropdownMenu) { }
});
/**
}
}
- $.ui.tabs.prototype.select.apply(this, arguments);
+ this._setOption('active', index);
},
/**