~jfb-tempo-consulting/unifield-web/US-5859_trunk

« back to all changes in this revision

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

  • Committer: jf
  • Date: 2019-07-22 08:51:53 UTC
  • Revision ID: jfb@tempo-consulting.fr-20190722085153-cvldp6qoakcbbz7s
PPS: last screen of progress pop should display only 1 button

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                            $('#open_src').html(_('View ')+obj.src_name)
53
53
                        }
54
54
                        $('#open_src').click(function() {open_progress_target()});
55
 
                        $('#open_src').show();
56
55
                        if (obj.target) {
57
56
                            if (obj.target_name) {
58
57
                                $('#open_target').html(_('View ')+obj.target_name);
59
58
                            }
60
59
                            $('#open_target').show();
61
60
                            $('#open_target').click(function() {open_progress_target(obj.target)});
 
61
                        } else {
 
62
                            $('#open_src').show();
62
63
                        }
63
64
                    }
64
65
                }