[BasicUI] Fix build after a method renaming in core framework (#2557)
Related to openhab/openhab-core#3652 that renamed method setPageId into updateSubscriptionLocation Signed-off-by: Laurent Garnier <lg.hc@free.fr>pull/2558/head
parent
14a6c9e59d
commit
93f758b75b
|
@ -173,7 +173,7 @@ public class WebAppServlet extends HttpServlet {
|
|||
// we are at the homepage, so we render the children of the sitemap root node
|
||||
if (subscriptionId != null) {
|
||||
if (subscriptions.exists(subscriptionId)) {
|
||||
subscriptions.setPageId(subscriptionId, sitemap.getName(), sitemapName);
|
||||
subscriptions.updateSubscriptionLocation(subscriptionId, sitemap.getName(), sitemapName);
|
||||
} else {
|
||||
logger.debug("Basic UI requested a non-existing event subscription id ({})", subscriptionId);
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ public class WebAppServlet extends HttpServlet {
|
|||
// we are on some subpage, so we have to render the children of the widget that has been selected
|
||||
if (subscriptionId != null) {
|
||||
if (subscriptions.exists(subscriptionId)) {
|
||||
subscriptions.setPageId(subscriptionId, sitemap.getName(), widgetId);
|
||||
subscriptions.updateSubscriptionLocation(subscriptionId, sitemap.getName(), widgetId);
|
||||
} else {
|
||||
logger.debug("Basic UI requested a non-existing event subscription id ({})", subscriptionId);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue