You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/04/21 00:02:12 UTC

ambari git commit: AMBARI-10613. Create / Clone Widget does not work (API call always goes to hardcoded c1 cluster). (jaimin)

Repository: ambari
Updated Branches:
  refs/heads/trunk 2505191dd -> e1d998f8c


AMBARI-10613. Create / Clone Widget does not work (API call always goes to hardcoded c1 cluster). (jaimin)


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

Branch: refs/heads/trunk
Commit: e1d998f8c452737148342ce1a07660e229727b9a
Parents: 2505191
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Mon Apr 20 15:01:37 2015 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Mon Apr 20 15:01:37 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/utils/ajax/ajax.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/e1d998f8/ambari-web/app/utils/ajax/ajax.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ajax/ajax.js b/ambari-web/app/utils/ajax/ajax.js
index 5225711..bb591f6 100644
--- a/ambari-web/app/utils/ajax/ajax.js
+++ b/ambari-web/app/utils/ajax/ajax.js
@@ -2478,7 +2478,7 @@ var urls = {
   },
 
   'widgets.wizard.add': {
-    real: '/clusters/c1/widgets/',
+    real: '/clusters/{clusterName}/widgets/',
     mock: '',
     'format': function (data) {
       return {