Author |
|
mfran Newbie
Joined: 27 March 2023 Location: United States
Online Status: Offline Posts: 2
|
Posted: 27 March 2023 at 4:11pm | IP Logged
|
|
|
Hello, I am trying to alter the height of the iframe in the preview pane for documents. I see it is set to 400px height and would like it to be 600px. In what file could I edit this? Thank you.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6092
|
Posted: 28 March 2023 at 12:09am | IP Logged
|
|
|
You're looking for the file called FilesTableviewWebclientPlugin.app.hash-value-here.js (not .min.js) under static/js directory:
Code:
$("#files_view_pane").html("<iframe id='view_iframe' name='view_iframe' style='width: 100%; height: 400px; border: none;' src='" + selectedFile.getActionUrl('view') + "'></iframe>"); |
|
|
You'll need to set "UseAppMinJs" to false in data/settings/config.json file for this to work (so that non-minified JavaScript is loaded instead of minified one), and clear browser cache to apply changes.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
mfran Newbie
Joined: 27 March 2023 Location: United States
Online Status: Offline Posts: 2
|
Posted: 28 March 2023 at 11:48am | IP Logged
|
|
|
It's perfect now, thank you!
|
Back to Top |
|
|