Remove console.log
This commit is contained in:
parent
ecc5c39840
commit
86a3d4a4b1
|
@ -47,7 +47,6 @@ function myFileBrowser(field_name, url, type, win) {
|
||||||
var cmsURL = window.location.toString();
|
var cmsURL = window.location.toString();
|
||||||
cmsURL = cmsURL.split("/");
|
cmsURL = cmsURL.split("/");
|
||||||
cmsURL = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>";
|
cmsURL = "<%= Rails.application.routes.url_helpers.file_upload_admin_assets_path %>";
|
||||||
// console.log(cmsURL);
|
|
||||||
// script URL - use an absolute path!
|
// script URL - use an absolute path!
|
||||||
if (cmsURL.indexOf("?") < 0) {
|
if (cmsURL.indexOf("?") < 0) {
|
||||||
//add the type as the only query parameter
|
//add the type as the only query parameter
|
||||||
|
|
Loading…
Reference in New Issue