ui: improve comment behaviour for datastore Summary
when we could not load the config (e.g. missing permissions) show the comment from the global datastore-list also show a messagebox for a load error instead of setting the text of the comment box Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
172473e4de
commit
8fc63287df
@ -56,7 +56,7 @@ Ext.define('PBS.DataStoreNotes', {
|
||||
url: me.url,
|
||||
waitMsgTarget: me,
|
||||
failure: function(response, opts) {
|
||||
me.update(gettext('Error') + " " + response.htmlStatus);
|
||||
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
|
||||
me.setCollapsed(false);
|
||||
},
|
||||
success: function(response, opts) {
|
||||
|
||||
Reference in New Issue
Block a user