Panel div with data-footer="none" causes an error

A panel-div with data-footer="none" causes an error "Uncaught TypeError: Cannot read property 'childNodes' of undefined appframework.ui.js:3774" in ui.updateNavbarElements(). This function tries to copy navigation elements with id=none, which do not exist. Probably ui.updateNavbarElements() does not even need to be called, so I added "hasFooter = false;" in ui.parsePanelFunctions().