Navigation Menu

Skip to content

Commit

Permalink
Item13898: Fix formatting of jumpbox ajax response.
Browse files Browse the repository at this point in the history
  • Loading branch information
gac410 committed Jan 6, 2016
1 parent 9e87a97 commit f9f0d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JQueryPlugin/data/System/JQueryAjaxHelper.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1447730097" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1452096476" format="1.1" version="1"}%
%META:TOPICPARENT{name="JQueryPlugin"}%
---+!! %TOPIC%
%JQREQUIRE{"chili, ui, ui::autocomplete" warn="off"}%
Expand Down Expand Up @@ -160,7 +160,7 @@ jQuery(function($){
var $this = $(this),
opts = $.extend({}, $this.metadata());
$this.autocomplete({
source: foswiki.getPreference('SCRIPTURL') + '/view/' + foswiki.getPreference('SYSTEMWEB') + "/JQueryAjaxHelper?section=topic;skin=text;contenttype=application/json;baseweb="+opts.baseweb+";format="+opts.format,
source: foswiki.getPreference('SCRIPTURL') + '/view/' + foswiki.getPreference('SYSTEMWEB') + "/JQueryAjaxHelper?section=topic;skin=text;contenttype=application/json;baseweb="+opts.baseweb,
select: function(event, ui) {
window.location.href=foswiki.getPreference('SCRIPTURL') + '/view/'+(opts.global?'':opts.baseweb+'/')+ui.item.value;
}
Expand Down

0 comments on commit f9f0d08

Please sign in to comment.