app/views/components/lolita/configuration/tab/files/_upload_script.html.erb in lolita-file-upload-0.4.7 vs app/views/components/lolita/configuration/tab/files/_upload_script.html.erb in lolita-file-upload-0.4.8
- old
+ new
@@ -74,7 +74,12 @@
}
},
});
+ $("#<%= tab.name %>").bind("tab.toggle", function(){
+ var uploader = $("#file_upload_container_files").plupload('getUploader');
+ uploader.refresh();
+ })
+
});
</script>