fix #5734: provide missing methods for Proxmox.Utils for mobile ui
since the mobile ui shares the Utils code with the desktop web ui, (but not the proxmox-widget-toolkit) all methods used in constructors, etc. there must be available in the mobile ui too. We don't have any notification configuration options in the mobile ui, and AFAIK we don't plan to add those there, so we can just implement stub functions. This way the Utils constructor can proceed without errors, fixing loading the mobile ui. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
3e0176e6bb
commit
5d24b7d37e
@ -586,6 +586,15 @@ utilities: {
|
||||
}
|
||||
},
|
||||
|
||||
overrideNotificationFieldName: function(extra) {
|
||||
// do nothing, we don't have notification configuration in mobile ui
|
||||
},
|
||||
|
||||
overrideNotificationFieldValue: function(extra) {
|
||||
// do nothing, we don't have notification configuration in mobile ui
|
||||
},
|
||||
|
||||
|
||||
format_task_description: function(type, id) {
|
||||
let farray = Proxmox.Utils.task_desc_table[type];
|
||||
let text;
|
||||
|
Loading…
Reference in New Issue
Block a user