diff --git a/app/assets/javascripts/desktop/orbitdesktop.js b/app/assets/javascripts/desktop/orbitdesktop.js index b364466e9..065d64cbd 100755 --- a/app/assets/javascripts/desktop/orbitdesktop.js +++ b/app/assets/javascripts/desktop/orbitdesktop.js @@ -607,7 +607,7 @@ var orbitDesktop = function(dom){ if(!customload)customload=false; var target = dom.attr("id"), url = dom.attr("href"), - submenu_pass = ( dom.attr("sub-menu") ? true : false); + submenu_pass = ( dom.attr("sub-menu") == "false" ? false : true); if(!url)return false; o.data_method = dom.attr("callback-method"); diff --git a/app/views/desktop/index.html.erb b/app/views/desktop/index.html.erb index 62f742ecf..67222c693 100644 --- a/app/views/desktop/index.html.erb +++ b/app/views/desktop/index.html.erb @@ -4,7 +4,7 @@