Add settings list id

This commit is contained in:
Patrick 2019-04-16 01:00:11 +02:00
parent 9dffff89b2
commit 2150d71207
2 changed files with 2 additions and 1 deletions

View file

@ -17,7 +17,7 @@
<div class="ui-page" id="page_settings">
<header><h2>Settings</h2></header>
<div class="ui-content">
<ul class="ui-listview">
<ul class="ui-listview" id="list_settings">
<li><label>URL<br/><input id="oh_url" type="url" onchange="storeSettings();") style="text-align:center"/></label></li>
<li><label>Remote URL<br/><input id="oh_remote_url" type="url" onchange="storeSettings();" style="text-align:center"/></label></li>
<li><label>Save Settings<button type="button" class="ui-btn" onclick="storeSettings();"></button></label></li>

View file

@ -27,6 +27,7 @@ function parseSitemap(sitemap, status) {
parseWidgets(sitemap.homepage.widgets, list_main);
addSettings(list_main);
$('#frame_main ul').remove();
// tau.widget.Listview(list_main[0]).refresh();
$('#frame_main').append(list_main);
}