Asset upload
This commit is contained in:
1 parent
9129835f23
commit
26292f0dcc
15 files changed
+191
-43
No files matched your search
@@ -46,7 +46,7 @@ function load_tinymce() {
|
||||
function myFileBrowser(field_name, url, type, win) {
|
||||
var cmsURL = window.location.toString();
|
||||
cmsURL = cmsURL.split("/");
|
||||
cmsURL = "<%= Rails.application.routes.url_helpers.new_admin_asset_path %>";
|
||||
cmsURL = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>";
|
||||
console.log(cmsURL);
|
||||
// script URL - use an absolute path!
|
||||
if (cmsURL.indexOf("?") < 0) {
|
||||
|
||||
Reference in new issue
Block a user