mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
FLOORPLAN: bugfix for call of ext. javascripts
git-svn-id: https://svn.fhem.de/fhem/trunk@8062 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
040b31414e
commit
f5e5d1142b
@ -392,7 +392,6 @@ FP_digestCgi($) {
|
||||
%FP_webArgs = ();
|
||||
$FP_fwdetail = undef;
|
||||
$arg =~ s,^[?/],,;
|
||||
my ($atop, $aleft, $drop) = ""; #mod
|
||||
foreach my $pv (split("&", $arg)) { # per each URL-section devided by &
|
||||
next if($pv eq ""); # happens when post forgot to set FW_ME
|
||||
$pv =~ s/\+/ /g;
|
||||
@ -496,7 +495,7 @@ FP_htmlHeader($) {
|
||||
next if($h !~ m/HASH/ || !$h->{SCRIPT} || $h->{SCRIPT} =~ m+pgm2/jquery+);
|
||||
my $script = $h->{SCRIPT};
|
||||
$script = ($script =~ m,^/,) ? "$FW_ME$script" : "$FW_ME/pgm2/$script";
|
||||
FW_pO sprintf($jsTemplate, $script) if ($script);
|
||||
FW_pO sprintf($jsTemplate, "", $script) if ($script);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user