return correct exit code

This commit is contained in:
nightwing 2016-06-19 14:01:12 +04:00
parent f5083813a1
commit 9244db6b2c

View File

@ -238,7 +238,7 @@ require([
layout.initMenus = function() {};
layout.findParent = function(){
if (!bar || bar.$amlDestroyed) {
if (!bar || bar.$amlDestroyed || !bar.$ext || !bar.$ext.parentNode) {
bar = apf.document.documentElement.appendChild(
new imports.ui.bar());
bar.$ext.style.position = "fixed";