[FIX] "reload" client action

bzr revid: chs@openerp.com-20120816133459-5m3md4xd3dj92564
This commit is contained in:
Christophe Simonis 2012-08-16 15:34:59 +02:00
parent 7dc9b6087c
commit 2794297e1a
1 changed files with 5 additions and 5 deletions

View File

@ -621,11 +621,11 @@ instance.web.Reload = instance.web.Widget.extend({
},
start: function() {
var l = window.location;
var timestamp = new Date().getTime();
var search = "?ts=" + timestamp;
if (l.search) {
search = l.search + "&ts=" + timestamp;
}
var sobj = $.deparam(l.search.substr(1));
sobj.ts = new Date().getTime();
var search = '?' + $.param(sobj);
var hash = l.hash;
if (this.menu_id) {
hash = "#menu_id=" + this.menu_id;