mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 20:10:18 +02:00
[ticket/14315] Add back roles select for disable javascript
The javascript will hide the old select and show the version using the span and showing the tooltips. PHPBB3-14315
This commit is contained in:
phpBB
@@ -142,6 +142,10 @@ phpbb.positionTooltip = function ($element) {
|
||||
phpbb.prepareRolesDropdown = function () {
|
||||
var $options = $('.roles-options li');
|
||||
|
||||
// Display span and hide select
|
||||
$('.roles-options > span').css('display', 'block');
|
||||
$('.roles-options > select').hide();
|
||||
|
||||
// Prepare highlighting of select options and settings update
|
||||
$options.each(function () {
|
||||
var $this = $(this);
|
||||
|
Reference in New Issue
Block a user