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 9db2e3411d
commit c63f7c873f

View File

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