~ubuntuone-pqm-team/online-services-common-js/stable

« back to all changes in this revision

Viewing changes to build/navbar/navbar-debug.js

  • Committer: jonas-drange
  • Date: 2014-04-23 09:48:21 UTC
  • mfrom: (30.1.12 navbar-autocomplete)
  • Revision ID: jonas.drange@canonical.com-20140423094821-kgahgu2z4p9xnws1
[r=stephen-stewart] navbar-autocomplete:
Plugs Y.AutoComplete into an input element.
Manipulates the collapse element so that the autocomplete list is shown.

plugin-collapse:
Publish open, close and toggle events and fire them when appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
            throw new Error('missing header dom');
48
48
        }
49
49
 
50
 
        var menu = node.one('.ues-navbar-collapse');
 
50
        var menu = node.one('.ues-navbar-collapse:not(.search)');
51
51
        var search = node.one('.ues-navbar-collapse.search');
52
52
 
53
53
        if(menu) {