mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
MSwitch_Wizard.js:Bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21204 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e0869151d3
commit
f4314c0946
@ -506,9 +506,11 @@ function fillconfig(name){
|
||||
|
||||
}
|
||||
|
||||
function saveconfig(name){
|
||||
function saveconfig(name,mode){
|
||||
|
||||
if (mode == 'wizard'){
|
||||
makeconfig();
|
||||
}
|
||||
conf = document.getElementById(name).value;
|
||||
conf = conf.replace(/\n/g,'#[EOL]');
|
||||
conf = conf.replace(/:/g,'#c[dp]');
|
||||
@ -1183,6 +1185,7 @@ function setpreconf(name){
|
||||
}
|
||||
|
||||
function savepreconf(name){
|
||||
saveconfig('rawconfig4');
|
||||
mode = 'preconf';
|
||||
saveconfig('rawconfig4',mode);
|
||||
return;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user