Browse Source

changed init() call in save_data_settings() and save_data_network()

pull/77/head
Jonas Hess 1 month ago
parent
commit
f7a20daaba
No known key found for this signature in database
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      files/www/lan/scripts.js

+ 9
- 7
files/www/lan/scripts.js View File

@@ -905,10 +905,11 @@ function save_data_settings() {
name: name,
data: data
},
function (data) {
$('msg').innerHTML = data;
$('msg').focus();
init();
function(data) {
if (data.length > 0) {
setText('msg', data);
init_settings();
}
}
);
}
@@ -1933,9 +1934,10 @@ function save_data_network() {
data: data
},
function(data) {
$('msg').innerHTML = data;
$('msg').focus();
init();
if (data.length > 0) {
setText('msg', data);
init_network();
}
}
);
}

Loading…
Cancel
Save