瀏覽代碼

HUE-3641 [home] Actions to create folder etc calls the save configuration endpoint

Johan Ahlen 9 年之前
父節點
當前提交
42ac215
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/assist/assistHelper.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/assist/assistHelper.js

@@ -190,7 +190,7 @@
    */
   AssistHelper.prototype.simplePost = function (url, data, options) {
     var self = this;
-    $.post(CONFIG_SAVE_API, data, function (data) {
+    $.post(url, data, function (data) {
       if (self.successResponseIsError(data)) {
         self.assistErrorCallback(options)(data);
       } else if (typeof options.successCallback !== 'undefined') {