UI modifications
This commit is contained in:
1 parent
abd1a9ecbc
commit
69304fda43
7 files changed
+101
-88
No files matched your search
@@ -47,7 +47,7 @@ function myFileBrowser(field_name, url, type, win) {
|
||||
var cmsURL = window.location.toString();
|
||||
cmsURL = cmsURL.split("/");
|
||||
cmsURL = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>";
|
||||
console.log(cmsURL);
|
||||
|
||||
// script URL - use an absolute path!
|
||||
if (cmsURL.indexOf("?") < 0) {
|
||||
//add the type as the only query parameter
|
||||
|
||||
Reference in new issue
Block a user