mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 02:44:53 +00:00
fhem.pl: typo
fhemweb.js: Fix <a> rewrite with target="_blank" (Forum #39000) git-svn-id: https://svn.fhem.de/fhem/trunk@8941 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0026b55d3a
commit
222e311c3e
fhem
@ -3935,7 +3935,7 @@ readingsBulkUpdate($$$@)
|
||||
my $rv = "$reading: $value";
|
||||
if($changed) {
|
||||
if($reading eq "state") {
|
||||
$rv = "$value";
|
||||
$rv = $value;
|
||||
$hash->{CHANGEDWITHSTATE} = [];
|
||||
}
|
||||
addEvent($hash, $rv);
|
||||
|
@ -357,7 +357,11 @@ FW_replaceLink(el)
|
||||
if(ma) {
|
||||
$(el).click(function() {
|
||||
FW_leaving = 1;
|
||||
location.href = attr;
|
||||
if($(el).attr("target") == "_blank") {
|
||||
window.open(url, '_blank').focus();
|
||||
} else {
|
||||
location.href = attr;
|
||||
}
|
||||
});
|
||||
}
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user