~julie-w/unifield-web/US-3669

« back to all changes in this revision

Viewing changes to addons/openerp/controllers/templates/form.mako

  • Committer: jf
  • Date: 2018-03-23 14:30:44 UTC
  • mfrom: (4891.4.2 US-4124)
  • Revision ID: jfb@tempo-consulting.fr-20180323143044-h8yx9egtgdlyjd8j
US-4124 [FIX] Sync monitor auto-refresh: do not refresh all the page but only the list

lp:~jfb-tempo-consulting/unifield-web/US-4124

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
            /*
26
26
            % endif
27
27
            */
28
 
            /*
29
 
            % if auto_refresh :
30
 
            */
31
 
            setTimeout(function() {
32
 
                location.reload();
33
 
            }, ${auto_refresh}*1000);
34
 
            /*
35
 
            % endif
36
 
            */
37
28
            setTimeout(function() {
38
29
                jQuery('[autofocus="autofocus"]').focus();
39
30
            }, 10);