2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhemweb.js: fix dim% (Forum #100057)

git-svn-id: https://svn.fhem.de/fhem/trunk@19285 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-04-28 20:18:39 +00:00
parent 79334f5fed
commit 8aaaaba596

View File

@ -295,7 +295,8 @@ 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;