diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-08-01 15:12:54 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-08-01 15:12:54 +0200 |
| commit | 0fd884d234f3ee4969dc4265da1a1aecc320717f (patch) | |
| tree | 6359f56f27da8eb88adf06875927e223199c3b1e /addons/base/static/src/xml/base.xml | |
| parent | 56ebc5946cb9304babe3930494c362e0d090782f (diff) | |
[FIX] fully reimplement dumping a DB so that it works correctly
* handler should be an httprequest, as we're returning a binary file (maybe we could use ajax with file API abd b64, but... not now)
* use cookie-hack to know when the file is downloading (or is finished downloading, not sure which, not that it matters) so we can add some kind of UI signal
bzr revid: xmo@openerp.com-20110801131254-ik4m8yyc526pz7rf
Diffstat (limited to 'addons/base/static/src/xml/base.xml')
| -rw-r--r-- | addons/base/static/src/xml/base.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/base/static/src/xml/base.xml b/addons/base/static/src/xml/base.xml index 0e3d9c9a19c..4187f1faf9c 100644 --- a/addons/base/static/src/xml/base.xml +++ b/addons/base/static/src/xml/base.xml @@ -149,7 +149,9 @@ </form> </t> <t t-name="BackupDB"> - <form name="backup_db_form" method="POST"> + <form name="backup_db_form" method="POST" target="backup-target" + action="/base/database/backup_db"> + <input type="hidden" name="token"/> <table width="100%"> <tr> <td class="option_string"> |
