This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gohtmlclient. commit 44ec40303d2a5be9b5dd470ea4cc4cc109b1f729 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Jun 23 17:26:49 2021 +0200 src/x2godomcontroller.js: Use asset_path variable for all loaded / referenced asset files. --- src/x2godomcontroller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/x2godomcontroller.js b/src/x2godomcontroller.js index 81f0e0f..19c8141 100644 --- a/src/x2godomcontroller.js +++ b/src/x2godomcontroller.js @@ -390,7 +390,7 @@ X2GoDOMController { this.__inputClip=true; this.__clipFocused=false; - this.__clipElementCloseImg.src="/assets/x2go-plugin/IMG/clip_copy_close.png" + this.__clipElementCloseImg.src=asset_path + "clip_copy_close.png" this.__clipElementText.style.color="grey"; this.__clipElementText.innerText= "Paste text or image here"; this.__clipElementText.contentEditable=true; @@ -399,7 +399,7 @@ X2GoDOMController { // console.log(data); this.__inputClip=false; - this.__clipElementCloseImg.src="/assets/x2go-plugin/IMG/clip_close.png" + this.__clipElementCloseImg.src=asset_path + "clip_close.png" this.__clipFocused=true; this.__clipElementText.style.color="black"; if(data.type && data.type=="image/png") @@ -490,7 +490,7 @@ X2GoDOMController getBackground() { - return "/assets/x2go-plugin/IMG/x2gobg.svg"; + return asset_path + "x2gobg.svg"; } -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gohtmlclient.git