[FIX]Password error in backup database.
lp bug: https://launchpad.net/bugs/986781 fixed bzr revid: vja@vja-desktop-20120515090051-mg8xi4pdt4dbal1l
This commit is contained in:
parent
7d392a76a2
commit
87afddd907
|
@ -392,7 +392,14 @@ instance.web.DatabaseManager = instance.web.Widget.extend({
|
||||||
success: function () {
|
success: function () {
|
||||||
self.do_notify(_t("Backed"), _t("Database backed up successfully"));
|
self.do_notify(_t("Backed"), _t("Database backed up successfully"));
|
||||||
},
|
},
|
||||||
error: instance.webclient.crashmanager.on_rpc_error,
|
error: function(){
|
||||||
|
if (instance.webclient.crashmanager.on_rpc_error) {
|
||||||
|
self.display_error({
|
||||||
|
title: 'Backup Database',
|
||||||
|
error: 'AccessDenied'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
complete: function() {
|
complete: function() {
|
||||||
self.unblockUI();
|
self.unblockUI();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue