mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
fhemweb.js: fix "global" problem
git-svn-id: https://svn.fhem.de/fhem/trunk@12419 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e7ced7abbc
commit
0bf368c96e
@ -604,7 +604,7 @@ FW_rawDef()
|
|||||||
'</div></br>');
|
'</div></br>');
|
||||||
|
|
||||||
FW_cmd(FW_root+"?cmd=list -r "+dev+"&XHR=1", function(data) {
|
FW_cmd(FW_root+"?cmd=list -r "+dev+"&XHR=1", function(data) {
|
||||||
data = data.replace("define", "defmod");
|
data = data.replace(/^define/, "defmod");
|
||||||
$("#rawDef textarea").val(data);
|
$("#rawDef textarea").val(data);
|
||||||
var off = $("#rawDef").position().top-20;
|
var off = $("#rawDef").position().top-20;
|
||||||
$('body, html').animate({scrollTop:off}, 500);
|
$('body, html').animate({scrollTop:off}, 500);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user