UI modifications

This commit is contained in:
Harry Bomrah authored and chris committed 2012-08-20 23:16:06 +08:00
1 parent abd1a9ecbc
commit 69304fda43
7 files changed
+101 -88

No files matched your search

+1 -1
View File
@@ -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