* @param object values
* @param object availableLanguages
*/
-WCF.MultipleLanguageInput = function(elementID, forceSelection, values, availableLanguages) { this.init(elementID, forceSelection, values, availableLanguages); };
-WCF.MultipleLanguageInput.prototype = {
+WCF.MultipleLanguageInput = Class.extend({
/**
* list of available languages
* @var object
}
else {
$button.addClass('dropdownCaption');
+ $button.next().css('height', $button.outerHeight());
}
// insert list
// remove name attribute to prevent conflict with i18n values
this._element.removeAttr('name');
}
-};
+});
/**
* Icon collection used across all JavaScript classes.