2
0
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 )


git-svn-id: https://svn.fhem.de/fhem/trunk@8941 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-07-12 06:11:14 +00:00
parent 0026b55d3a
commit 222e311c3e
2 changed files with 6 additions and 2 deletions
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;