2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-19 00:26:03 +00:00

98_MSwitch.pm:Fix Wizard

git-svn-id: https://svn.fhem.de/fhem/trunk@21475 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Byte09 2020-03-22 03:55:14 +00:00
parent e0093b3e66
commit 7339ffc2cd

View File

@ -4060,16 +4060,15 @@ sub MSwitch_fhemwebconf($$$$) {
my $j1 = "
<script type=\"text/javascript\">
// VARS
//preconf
var preconf ='".$preconf."';
// firstconfig
var logging ='off';
var devices = ".$devstring.";
var at = ".$at.";
var atdef = ".$atdef.";
var atcmd = ".$comand.";
var atspec = ".$timespec.";
var at = '';
var atdef = '';
var atcmd = '';
var atspec = '';
var triggertime = ".$trigtime.";
var cmds = ".$cmds.";
var i;
@ -4077,8 +4076,10 @@ sub MSwitch_fhemwebconf($$$$) {
var o = new Object();
var devicename= '".$Name."';
var mVersion= '".$version."';
var notify = ".$notify.";
var notifydef = ".$notifydef.";
var notify = '';
var notifydef = '';
\$(document).ready(function() {
\$(window).load(function() {
name = '$Name';