[FIX] hw_posbox_upgrade: posbox restart was not working

bzr revid: fva@openerp.com-20140328144335-zs5kdh7kxvliumyq
This commit is contained in:
Frédéric van der Essen 2014-03-28 15:43:35 +01:00
parent ed964ecba1
commit 396b2508dc
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ upgrade_template = """
$('#upgrade').html('Upgrade Successful<br \\>Click to Restart the PosBox');
$('#upgrade').off('click');
$('#upgrade').click(function(){
$.ajax({ url:'hw_proxy/perform_restart' })
$.ajax({ url:'/hw_proxy/perform_restart' })
$('#upgrade').text('Restarting');
$('#upgrade').off('click');
setTimeout(function(){