浏览代码

HUE-1955 [beeswax] Save a query with resource fails

Tested various other combos
Romain Rigaux 11 年之前
父节点
当前提交
323313e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/beeswax/static/js/beeswax.vm.js

+ 1 - 1
apps/beeswax/static/js/beeswax.vm.js

@@ -169,7 +169,7 @@ function BeeswaxViewModel(server) {
       self.addSetting(setting.key, setting.value);
     });
     $.each(design.file_resources, function(index, file_resource) {
-      self.addFileResources(file_resource.type, file_resource.path);
+      self.addFileResource(file_resource.type, file_resource.path);
     });
     $.each(design.functions, function(index, _function) {
       self.addFunction(_function.name, _function.class_name);