Selaa lähdekoodia

HUE-887 Fix fileuploader popup across website

-jHue filebrowser plugin needed to be updated to use new API.
abec 13 vuotta sitten
vanhempi
commit
026b31e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      desktop/core/static/js/Source/jHue/jquery.filechooser.js

+ 1 - 1
desktop/core/static/js/Source/jHue/jquery.filechooser.js

@@ -226,7 +226,7 @@
     function initUploader(path, _parent, el, labels) {
         var uploader = new qq.FileUploader({
             element:el[0],
-            action:'/filebrowser/upload',
+            action:'/filebrowser/upload/file',
             params:{
                 dest:path,
                 fileFieldLabel:'hdfs_file'