Merge branch 'ent-6209-10494-quickshell-duplica-pantalla-en-firefox' into 'develop'

Fix firefox double load of quickshell

See merge request artica/pandorafms!3686
This commit is contained in:
Daniel Rodriguez 2021-01-04 11:15:26 +01:00
commit 2a2e63fedb
1 changed files with 6 additions and 0 deletions

View File

@ -251,6 +251,12 @@ function quickShell()
$new .= $config['ws_proxy_url'].'/'.$method."';";
}
// Update firefox issue.
$original = ' this.iframe_.src = \'#\';';
$trick = 'this.iframe_.src = \'javascript:\';';
$r = str_replace($original, $trick, $r);
// Update url.
$gotty = str_replace($url, $new, $gotty);