Add settings list id
This commit is contained in:
parent
9dffff89b2
commit
2150d71207
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
<div class="ui-page" id="page_settings">
|
<div class="ui-page" id="page_settings">
|
||||||
<header><h2>Settings</h2></header>
|
<header><h2>Settings</h2></header>
|
||||||
<div class="ui-content">
|
<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>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>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>
|
<li><label>Save Settings<button type="button" class="ui-btn" onclick="storeSettings();"></button></label></li>
|
||||||
|
|
|
@ -27,6 +27,7 @@ function parseSitemap(sitemap, status) {
|
||||||
parseWidgets(sitemap.homepage.widgets, list_main);
|
parseWidgets(sitemap.homepage.widgets, list_main);
|
||||||
addSettings(list_main);
|
addSettings(list_main);
|
||||||
$('#frame_main ul').remove();
|
$('#frame_main ul').remove();
|
||||||
|
// tau.widget.Listview(list_main[0]).refresh();
|
||||||
$('#frame_main').append(list_main);
|
$('#frame_main').append(list_main);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue