diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js index ba3efa2c7e5..75b0c595a90 100644 --- a/ui/scripts/ui/core.js +++ b/ui/scripts/ui/core.js @@ -241,11 +241,21 @@ // User options var $options = $('
').attr({ id: 'user-options' }) .appendTo($('#header')); - $(['Logout']).each(function() { - $('') + $(['Logout', 'Help']).each(function() { + var $link = $('') .attr({ href: '#' }) .html(this.toString()) .appendTo($options); + + if (this == 'Help') { + $link.click(function() { + var helpURL = 'http://docs.cloud.com/CloudStack_Documentation'; + + window.open(helpURL, '_blank'); + + return false; + }); + } }); // Initialize browser