Skip to content

Commit

Permalink
Remove the old file upload mechanic
Browse files Browse the repository at this point in the history
Remove uploader coffeescript and the jquery plugins that handled the file upload before.
  • Loading branch information
sascha-karnatz committed Nov 28, 2023
1 parent a95bba8 commit 43dbf45
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 2,167 deletions.
1 change: 0 additions & 1 deletion app/assets/javascripts/alchemy/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@
//= require alchemy/alchemy.string_extension
//= require alchemy/alchemy.link_dialog
//= require alchemy/alchemy.list_filter
//= require alchemy/alchemy.uploader
//= require alchemy/alchemy.preview_window
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Alchemy.ElementsWindow =
$.get @url, (data) =>
@element_area.html data
Alchemy.GUI.init(@element_area)
Alchemy.fileEditors(@element_area.find(".ingredient-editor.file, .ingredient-editor.audio, .ingredient-editor.video").selector)
Alchemy.pictureEditors(@element_area.find(".ingredient-editor.picture").selector)
if @callback
@callback.call()
Expand Down
131 changes: 0 additions & 131 deletions app/assets/javascripts/alchemy/alchemy.uploader.js.coffee

This file was deleted.

5 changes: 0 additions & 5 deletions app/javascript/alchemy_admin/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ function initElement($el) {
Alchemy.ElementDirtyObserver($el)
init($el && $el.selector)
Alchemy.ImageLoader($el[0])
Alchemy.fileEditors(
$el.find(
".ingredient-editor.file, .ingredient-editor.audio, .ingredient-editor.video"
).selector
)
Alchemy.pictureEditors($el.find(".ingredient-editor.picture").selector)
}

Expand Down
178 changes: 0 additions & 178 deletions vendor/assets/javascripts/fileupload/jquery.fileupload-process.js

This file was deleted.

Loading

0 comments on commit 43dbf45

Please sign in to comment.