[Web] Add "alias_domains" ACL to prevent alias domains to add alias domains (by default!)

[Web] Edit alias domains: use select menu
[Web] Minor fixes
This commit is contained in:
andryyy
2018-11-14 08:20:56 +01:00
parent 270be16ca7
commit 2515a91ac3
8 changed files with 45 additions and 5 deletions

View File

@@ -109,7 +109,11 @@ $(document).ready(function() {
});
// Disable disallowed inputs
$('[data-acl="0"]').each(function(){
$('[data-acl="0"]').each(function(event){
if ($(this).is("a")) {
$(this).removeAttr("data-toggle");
$(this).removeAttr("data-target");
}
if ($(this).hasClass('btn-group')) {
$(this).find('a').each(function(){
$(this).removeClass('dropdown-toggle')