-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ETR - File Browser Update #311
ETR - File Browser Update #311
Conversation
These functions in the FileViewer are attempting to iterate over the file and image extensions that the user defines in the settings.ini.cfm as filebrowsereditlist etc. However, the iteration is happening over a string.
add same change to isViewable
Updates the actionwindow wrapper and formwrapper to fix the Edit modal when editing files in the filebrowser.
@@ -144,15 +144,15 @@ | |||
|
|||
#actionwindow-wrapper { | |||
position: absolute; | |||
margin: 60px 30%; | |||
margin: 30px 30px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would revert this change; the old css makes sure that the popup is always centered in the middle.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeroenweareorangeeu Reverted, cheers.
revert margin in the actionwindow-wrapper
Thank you @wtconsulting! |
These functions in the FileBrowser / FileViewer are attempting to iterate over the file and image extensions that the user defines in the settings.ini.cfm as filebrowsereditlist etc. However, the iteration is happening over a string.
This image illustrates the issue. Note the "t" in the debug popup where it should be comparing against a whole extension (txt for example).
I also updated the CSS to fix the Edit window being cut in half and right justified on the page.
Note I made this change in a non-minified JS file. If you need me to minify it or make any updates, I can do that as well. I did test that this resolves the issues.