jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/370814 )

Change subject: Fix rawgraph link
......................................................................


Fix rawgraph link

Use absolute link instead of relative.

Change-Id: I2c26f7b85ebd211e9183408b5dda0aa3f864b877
---
M wikibase/queryService/ui/App.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Smalyshev: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wikibase/queryService/ui/App.js b/wikibase/queryService/ui/App.js
index de59300..fbf4796 100644
--- a/wikibase/queryService/ui/App.js
+++ b/wikibase/queryService/ui/App.js
@@ -668,7 +668,7 @@
                } );
 
                $( '.queryUri' ).attr( 'href', self._sparqlApi.getQueryUri() );
-               $( '.rawGraphsUri' ).attr( 'href', RAWGRAPHS_BASE_URL + 
encodeURIComponent( self._sparqlApi.getQueryUri() ) );
+               $( '.rawGraphsUri' ).attr( 'href', RAWGRAPHS_BASE_URL + $( 
'.queryUri' )[0].href );
        };
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/370814
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2c26f7b85ebd211e9183408b5dda0aa3f864b877
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/gui
Gerrit-Branch: master
Gerrit-Owner: Jonas Kress (WMDE) <jonas.kr...@wikimedia.de>
Gerrit-Reviewer: Smalyshev <smalys...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to