mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
embedded webui + config modification detection (#240)
* implement embedded webui * add detection for changed config, later on used for restart hyperion
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
function bindNavToContent(containerId, fileName, loadNow)
|
||||
{
|
||||
$("#page-wrapper").off();
|
||||
$("#page-content").off();
|
||||
$(containerId).on("click", function() {
|
||||
$("#page-wrapper").load("/content/"+fileName+".html");
|
||||
$("#page-content").load("/content/"+fileName+".html");
|
||||
});
|
||||
if (loadNow)
|
||||
{
|
||||
$("#page-wrapper").load("/content/"+fileName+".html");
|
||||
$("#page-content").load("/content/"+fileName+".html");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user