Browse Source

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

Jaimin Jetly 10 years ago
parent
commit
e1d998f8c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ambari-web/app/utils/ajax/ajax.js

+ 1 - 1
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 {