~beuno/loggerhead/bzr-search_integration

« back to all changes in this revision

Viewing changes to loggerhead/static/javascript/custom.js

  • Committer: Martin Albisetti
  • Date: 2008-06-25 09:30:44 UTC
  • Revision ID: argentina@gmail.com-20080625093044-re1ngh6hj5wxdnbn
 * Make the URL to /search relative so it works with start-loggerhead.py and serve-branches.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
        search: function(query)
18
18
        {
19
 
            url = 'search?query=' + query;
 
19
            url = global_path + 'search?query=' + query;
20
20
        
21
21
                var posicion = search_box.getPosition();
22
22
                var size     = search_box.getSize();