mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7157 - Allow users to unsubscribe from notification channels (#611)
* N°7157 - Allow users to unsubscribe from notification channels * Fix type hinting * Add missing dict entries * Allows to subscribe/unsubscribe from notifications individually * Refactor NotificationsService to singleton pattern * Refactor NotificationsRepository to singleton pattern and rename methods to a more functional naming * Add PHPDoc and type hints * Dump autoloaders * Replace modals with toasts * Add dict entry --------- Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
@@ -797,7 +797,7 @@ const CombodoGlobalToolbox = {
|
||||
}
|
||||
|
||||
// Attribute replacement
|
||||
let aAttrElements = ['title', 'name', 'for'];
|
||||
let aAttrElements = ['title', 'name', 'for', 'src'];
|
||||
aAttrElements.forEach(function(e){
|
||||
$(`[data-template-attr-${e}]`, oElement).each(function(){
|
||||
$(this).attr(e, aData[$(this).attr(`data-template-attr-${e}`)]);
|
||||
|
||||
Reference in New Issue
Block a user