2012-12-27 55 views
0

我使用的是Alfresco 4.2bAlfresco共享網頁預覽摺疊問題

我有問題。在使用某些瀏覽器(現在爲Chrome)時,文檔預覽顯示爲已摺疊(它具有文檔,但文檔高度爲38像素)

包含嵌入字段的div在「樣式」中的高度始終爲38px另外,如果我試圖改變它的螢火蟲,它返回到38px)

<div id="template_x002e_web-preview_x002e_document-details_x0023_default-full-window-div" style="position: absolute; left: 10px; top: 226px; width: 824px; height: 38px;" class="web-preview real"> 
    <embed type="application/x-shockwave-flash" src="/share/components/preview/WebPreviewer.swf" width="100%" height="100%" style="" id="WebPreviewer_template_x002e_web-preview_x002e_document-details_x0023_default" name="WebPreviewer_template_x002e_web-preview_x002e_document-details_x0023_default" quality="high" allowscriptaccess="sameDomain" allowfullscreen="true" wmode="transparent" flashvars="fileName=Minuta2.docx&amp;paging=true&amp;url=http%3A%2F%2Fintra.jaimeillanes.cl%2Fshare%2Fproxy%2Falfresco%2Fapi%2Fnode%2Fworkspace%2FSpacesStore%2F0a41947e-5054-4c6d-a861-caa7b0bb07e2%2Fcontent%2Fthumbnails%2Fwebpreview%3Fc%3Dforce%26lastModified%3Dwebpreview%253A1356554282043&amp;jsCallback=Alfresco.util.ComponentManager.get('template_x002e_web-preview_x002e_document-details_x0023_default').plugin.onWebPreviewerEvent&amp;jsLogger=Alfresco.util.ComponentManager.get('template_x002e_web-preview_x002e_document-details_x0023_default').plugin.onWebPreviewerLogging&amp;i18n_actualSize=Tama%C3%B1o%20actual&amp;i18n_fitPage=Adaptar%20a%20la%20p%C3%A1gina&amp;i18n_fitWidth=Adaptar%20a%20lo%20ancho&amp;i18n_fitHeight=Adaptar%20a%20lo%20alto&amp;i18n_fullscreen=Pantalla%20completa&amp;i18n_fullwindow=Maximizar&amp;i18n_fullwindow_escape=Pulse%20la%20tecla%20Esc%20para%20salir%20del%20modo%20de%20pantalla%20completa&amp;i18n_page=P%C3%A1gina&amp;i18n_pageOf=de&amp;show_fullscreen_button=true&amp;show_fullwindow_button=true&amp;disable_i18n_input_fix=false"> 
</div> 

我一直在尋找,但我無法找到任何東西。

+0

問題不在於使用crome,而在於響應性。 (當瀏覽器最大化時,它是正確的,但是如果它更小,則會崩潰)。我不得不做一些CSS更改..在版本4.2C是固定的。 – matreyes

回答

1

我認爲你需要在Alfresco中進行更深層次的搜索。

檢查注入到文檔詳細信息模板(xml)中的Flash預覽器freemarker模板。在那個ftl或對另一個的引用應該是你提到的div。

1

請參閱https://issues.alfresco.com/jira/browse/ALF-16914,是您的問題嗎?

建議您升級到最新的4.2版本,我相信它已經修復。或者,您可以嘗試刪除文件tablet.css,這似乎觸發了問題(但請注意,這可能會產生意想不到的副作用!)。