Updated Branches:
  refs/heads/master 16493841a -> e59e1d148

CLOUDSTACK-4710: Fix broken help link


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e59e1d14
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e59e1d14
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e59e1d14

Branch: refs/heads/master
Commit: e59e1d148b24b943e84239784a771ca993882e44
Parents: 1649384
Author: Brian Federle <[email protected]>
Authored: Thu Sep 19 13:36:58 2013 -0700
Committer: Brian Federle <[email protected]>
Committed: Thu Sep 19 13:36:58 2013 -0700

----------------------------------------------------------------------
 ui/scripts/ui/core.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e59e1d14/ui/scripts/ui/core.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js
index c23484b..a11d14e 100644
--- a/ui/scripts/ui/core.js
+++ b/ui/scripts/ui/core.js
@@ -302,8 +302,8 @@
                 .appendTo($options);
 
             if (this == 'label.help') {
-                $link.click(function() {
-                    var helpURL = 
'http://docs.cloud.com/CloudStack_Documentation';
+                $link.addClass('help').click(function() {
+                    var helpURL = 'http://cloudstack.apache.org/';
 
                     window.open(helpURL, '_blank');
 
@@ -311,7 +311,7 @@
                 });
             }
             if (this == 'label.about') {
-                $link.click(function() {
+                $link.addClass('about').click(function() {
                     var $logo = 
$('<div>').addClass('logo').html(_l('label.app.name')),
                         $version = 
$('<div>').addClass('version').html(g_cloudstackversion),
                         $about = 
$('<div>').addClass('about').append($logo).append($version);

Reply via email to