-
Notifications
You must be signed in to change notification settings - Fork 16
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
Couldn't find template for digesting: attachments/preview_office #15
Comments
chrome 77.0.3865.120 not work, in other browsers everything works |
Hi, as I understand it, the problem was in the script working incorrectly, it did not correctly read resizeObject (obj). Therefore, the value in the style of the hight parameter is 0. I deleted the script in the office.html.erb file and added ",: size => 800". Happened
after that everything works. |
Thanks @pr0l for your solution. After a few minor edits (see below) document preview works in Chrome.
|
redmine v3.4.12. Chrome doesn't show doc files, Firefox does. <%= preview_office_tag @attachment %> modified to "<%= preview_office_tag @attachment, :size => 800%>" any suggestions please? |
@muradurm |
@pr0l Еще недавно все работало. |
@muradurm https://www.redmine.org/projects/redmine/wiki/RedmineInstall 3.4 | Ruby 1.9.31, 2.0.0, 2.1, 2.2, 2.3, 2.4 | Rails 4.2 |
@muradurm можно попробовать с фиксом https://github.com/enix223/redmine_preview_office |
под Firefox работает, так что вряд ли в этом дело. |
у меня работает в моей конфигурации. Так что надо смотреть что у тебя выходит в коде страницы. |
@muradurm походу ты либо не закоментил скрипт. либо попробуй поменять в конфиге |
это значит что скрипт вычисления работает если у тебя высота hight=0 |
да, я не понял, что скрипт надо было удалить! Спасибо! |
Hey. Does not show the file. Reinstalled LibreOffice.
Ububntu 18.04
Redmine version 3.4.4.stable
Ruby version 2.4.1-p111 (2017-03-22) [x86_64-linux]
Rails version 4.2.8
Environment production
Database adapter Mysql2
redmine_preview_office 1.0.3
The text was updated successfully, but these errors were encountered: