diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-02 11:36:35 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-02 11:39:14 +0100 |
commit | 729d52f10a73398012c59299070bf6b291c5dc41 (patch) | |
tree | ff71091c123f59324d7b9a40fdfbda29891369ff /view/js/mod_settings.js | |
parent | 79e8e4599ef8af2ee70250a206b3d956abcfca3d (diff) | |
download | volse-hubzilla-729d52f10a73398012c59299070bf6b291c5dc41.tar.gz volse-hubzilla-729d52f10a73398012c59299070bf6b291c5dc41.tar.bz2 volse-hubzilla-729d52f10a73398012c59299070bf6b291c5dc41.zip |
reset schema value after we empty and repopulate it. second half of fix for #624
Diffstat (limited to 'view/js/mod_settings.js')
-rw-r--r-- | view/js/mod_settings.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js index cf77db9bb..cb0b44ff2 100644 --- a/view/js/mod_settings.js +++ b/view/js/mod_settings.js @@ -44,7 +44,7 @@ function previewTheme(elm) { $(data.schemas).each(function(index,item) { $('<option/>',{value:item['key'],text:item['val']}).appendTo('#id_schema'); }); - $('#id_schema').val(schema ? schema : data.schemas[0]); + $('#id_schema').val(schema ? schema : '---'); $('#custom-settings-content .section-content-tools-wrapper').html(data.config); }); } |