mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
fhemweb.js: fix crash for attribute name containing * (Forum #83124)
git-svn-id: https://svn.fhem.de/fhem/trunk@18399 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
317440671d
commit
62899b14d6
@ -289,7 +289,7 @@ FW_jqueryReadyFn()
|
||||
|
||||
$("select[id^=sel_attr],select[id^=sel_set],select[id^=sel_get]")
|
||||
.change(function(){ // online help
|
||||
var val =$(this).val().replace(/[.\/(){}\[\]]/g,function(a){return "\\"+a});
|
||||
var val=$(this).val().replace(/[.\/(){}\[\]*]/g,function(a){return "\\"+a});
|
||||
var m = $(this).attr("name").match(/arg.(set|get|attr)(.*)/);
|
||||
if(!m)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user