Vaibhav (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-bug-913510-vda into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
  Bug #913510 in OpenERP Web: "after restoring the db successfully a popup 
should  say so"
  https://bugs.launchpad.net/openerp-web/+bug/913510

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-913510-vda/+merge/87908

 Notify on Database restore, backup.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-913510-vda/+merge/87908
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bug-913510-vda.
=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js	2012-01-06 16:32:20 +0000
+++ addons/web/static/src/js/chrome.js	2012-01-09 08:19:24 +0000
@@ -481,7 +481,10 @@
                             error: error[1]
                         });
                     },
-                    complete: $.proxy(self, 'unblockUI')
+                    complete: function() {
+                        self.unblockUI();
+                        self.do_notify("Backed","Database backed up successfully !");
+                    }
                 });
             }
         });
@@ -517,7 +520,10 @@
                             })
                         }
                     },
-                    complete: $.proxy(self, 'unblockUI')
+                    complete: function() {
+                        self.unblockUI();
+                        self.do_notify("Restored","Database restored successfully !");
+                    }
                 });
             }
         });

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to