Jonas Kress (WMDE) has uploaded a new change for review. ( 
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(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikidata/query/gui 
refs/changes/14/370814/1

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: newchange
Gerrit-Change-Id: I2c26f7b85ebd211e9183408b5dda0aa3f864b877
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/query/gui
Gerrit-Branch: master
Gerrit-Owner: Jonas Kress (WMDE) <jonas.kr...@wikimedia.de>

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

Reply via email to