~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/javascript/picker.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-06 03:26:27 UTC
  • mfrom: (13144.2.14 picker-click-item-detail)
  • Revision ID: launchpad@pqm.canonical.com-20110606032627-ojq7tpy4i1arx2mu
[r=sinzui][bug=791116] Display links to a person's home page in
 launchpad when displaying search results in a person picker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
                    .set('href', data.alt_title_link);
355
355
                Y.on('click', function(e) {
356
356
                    e.halt();
357
 
                    window.open(href);
358
 
                }, result);
 
357
                    window.open(data.alt_title_link);
 
358
                }, alt_link);
359
359
            }
360
360
            li_title.appendChild(' (');
361
361
            li_title.appendChild(document.createTextNode(data.alt_title));