[FIX] always provide a radix to parseint

bzr revid: xmo@openerp.com-20110704143402-e47xmd53obcou6b8
This commit is contained in:
Xavier Morel
2011-07-04 16:34:02 +02:00
parent 213b47685c
commit f36d077063
+1 -1
View File
@@ -1149,7 +1149,7 @@ openerp.base.WebClient = openerp.base.Controller.extend({
// if using saved actions, load the action and give it to action manager
var parameters = jQuery.deparam(jQuery.param.querystring());
if (parameters["s_action"] != undefined) {
var key = parseInt(parameters["s_action"]);
var key = parseInt(parameters["s_action"], 10);
var self = this;
this.rpc("/base/session/get_session_action", {key:key}, function(action) {
self.action_manager.do_action(action);