phpBB

Code Changes

File: adm/style/tooltip.js

  Unmodified   Added   Modified   Removed
Line 130Line 130
	$element = $element.parent();
offset = $element.offset();


	$element = $element.parent();
offset = $element.offset();


 
	if ($('body').hasClass('rtl')) {
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left + 255
});
} else {

	$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left - 205
});

	$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left - 205
});

 
	}

};

/**

};

/**

Line 211Line 218

// Prepare dropdown
phpbb.prepareRolesDropdown();


// Prepare dropdown
phpbb.prepareRolesDropdown();


// Reset role drop-down on modifying permissions in advanced tab
$('div.permissions-switch > a').on('click', function () {
$.each($('input[type=radio][name^="setting["]'), function () {
var $this = $(this);
$this.on('click', function () {
var $rolesOptions = $this.closest('fieldset.permissions').find('.roles-options'),
rolesSelect = $rolesOptions.find('select > option')[0];

// Set selected setting
$rolesOptions.children('span')
.text(rolesSelect.text);
$rolesOptions.children('input[type=hidden]')
.val(rolesSelect.value);
});
});
});

 
});

})(jQuery); // Avoid conflicts with other libraries

});

})(jQuery); // Avoid conflicts with other libraries