~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Francis J. Lacoste
  • Date: 2011-07-08 20:31:48 UTC
  • mfrom: (13397 devel)
  • mto: This revision was merged to the branch mainline in revision 13501.
  • Revision ID: francis.lacoste@canonical.com-20110708203148-mzcn7o91cn2nm830
Merge devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
                }, alt_link);
373
373
            }
374
374
            li_title.appendChild(' (');
375
 
            li_title.appendChild(document.createTextNode(data.alt_title));
 
375
            var alt_title_node = Y.Node.create('<span></span>')
 
376
                .set('text', data.alt_title);
 
377
            li_title.appendChild(alt_title_node);
376
378
            li_title.appendChild(')');
377
379
            if (alt_link !== null) {
378
380
                li_title.appendChild(alt_link);