mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Keep existing behaviour for notification settings (at least for now)
This commit is contained in:
parent
3a9bacb27c
commit
e78a5dc104
@ -66,6 +66,7 @@
|
||||
// Callback for when boolean settings are edited
|
||||
$('table').find('.boolean-setting').change(function() {
|
||||
|
||||
var pk = $(this).attr('pk');
|
||||
var setting = $(this).attr('setting');
|
||||
var plugin = $(this).attr('plugin');
|
||||
var user = $(this).attr('user');
|
||||
@ -118,6 +119,7 @@ $('table').find('.btn-edit-setting').click(function() {
|
||||
title = '{% trans "Edit Plugin Setting" %}';
|
||||
} else if (notification) {
|
||||
title = '{% trans "Edit Notification Setting" %}';
|
||||
setting = $(this).attr('pk');
|
||||
} else if (is_global) {
|
||||
title = '{% trans "Edit Global Setting" %}';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user