Commit 04680d58 authored by bobbysaul's avatar bobbysaul Committed by adriancid

Issue #3173026 by bobbysaul, adriancid: Search on non root domains

parent 7941d927
......@@ -25,7 +25,7 @@
source: function (request, response) {
var data = $self.handleAutocomplete(request.term);
if (!$self.extraFetched && drupalSettings.adminToolbarSearch.loadExtraLinks) {
$.getJSON( "/admin/admin-toolbar-search", function ( data ) {
$.getJSON( Drupal.url( "admin/admin-toolbar-search" ), function( data ) {
$(data).each(function () {
var item = this;
item.label = this.labelRaw + ' ' + this.value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment