diff --git a/config/plugins/webhooks/demo/search/config/searchover.yaml b/config/plugins/webhooks/demo/search/config/searchover.yaml index a4ba5bb5aa7..64745187f5b 100644 --- a/config/plugins/webhooks/demo/search/config/searchover.yaml +++ b/config/plugins/webhooks/demo/search/config/searchover.yaml @@ -7,7 +7,7 @@ icon: fa-search tooltip: Click to activate search and press Ctrl + Alt + q to open the overlay function: > - $.getJSON(Galaxy.root + "/api/webhooks", function( data ) { + $.getJSON(Galaxy.root + "api/webhooks", function( data ) { for( var item in data ) { var webhook = data[item]; if( webhook.name === "searchover" ) { diff --git a/config/plugins/webhooks/demo/tool_list/config/tool_list.yml b/config/plugins/webhooks/demo/tool_list/config/tool_list.yml index 180df1a56ba..cc3577068b4 100644 --- a/config/plugins/webhooks/demo/tool_list/config/tool_list.yml +++ b/config/plugins/webhooks/demo/tool_list/config/tool_list.yml @@ -1,5 +1,5 @@ name: tool_list -type: +type: - masthead activate: true @@ -13,10 +13,10 @@ function: > 'be patient, this might take a moment.'); }, 1); - $.getJSON(Galaxy.root + "/api/webhooks/tool_list/get_data", function(data) { + $.getJSON(Galaxy.root + "api/webhooks/tool_list/get_data", function(data) { var popup = window.open('tool_list.html'); - var html = '

' + - 'Create a Docker flavour of this instance:

' + + var html = '

' + + 'Create a Docker flavour of this instance:

' + '' + - '
The textarea on ' + 'the right shows the list of installed tools on this Galaxy instance.' + 'You can use it to build a custom Galaxy flavour based on the same ' + @@ -30,8 +30,8 @@ function: > 'with

ADD my_tool_list.yml $GALAXY_ROOT/my_tool_list.yml' + '

and

' + 'RUN install-tools $GALAXY_ROOT/my_tool_list.yml
'; popup.document.write(html); diff --git a/test/functional/webhooks/trans_object/config/trans_object.yaml b/test/functional/webhooks/trans_object/config/trans_object.yaml index 041f6656349..67b2bb8097e 100644 --- a/test/functional/webhooks/trans_object/config/trans_object.yaml +++ b/test/functional/webhooks/trans_object/config/trans_object.yaml @@ -1,5 +1,5 @@ name: trans_object -type: +type: - masthead activate: true @@ -7,6 +7,6 @@ icon: fa-user tooltip: Show Username function: > - $.getJSON(Galaxy.root + "/api/webhooks/trans_object/get_data", function(data) { + $.getJSON(Galaxy.root + "api/webhooks/trans_object/get_data", function(data) { alert('Username: ' + data.username); });