projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae446d4
)
[FIX] Notify on Database restore,backup.
author
Vaibhav (OpenERP)
<vda@tinyerp.com>
Mon, 9 Jan 2012 08:14:41 +0000
(13:44 +0530)
committer
Vaibhav (OpenERP)
<vda@tinyerp.com>
Mon, 9 Jan 2012 08:14:41 +0000
(13:44 +0530)
lp bug: https://launchpad.net/bugs/913510 fixed
bzr revid: vda@tinyerp.com-
20120109081441
-b0ogg9yc9jfzme5x
addons/web/static/src/js/chrome.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/chrome.js
b/addons/web/static/src/js/chrome.js
index
34b4135
..
9f6d479
100644
(file)
--- a/
addons/web/static/src/js/chrome.js
+++ b/
addons/web/static/src/js/chrome.js
@@
-481,7
+481,10
@@
openerp.web.Database = openerp.web.Widget.extend(/** @lends openerp.web.Database
error: error[1]
});
},
- complete: $.proxy(self, 'unblockUI')
+ complete: function() {
+ self.unblockUI();
+ self.do_notify("Backed","Database backed up successfully !");
+ }
});
}
});
@@
-517,7
+520,10
@@
openerp.web.Database = openerp.web.Widget.extend(/** @lends openerp.web.Database
})
}
},
- complete: $.proxy(self, 'unblockUI')
+ complete: function() {
+ self.unblockUI();
+ self.do_notify("Restored","Database restored successfully !");
+ }
});
}
});