プロジェクト

全般

プロフィール

Bug(バグ) #3005

Shouta Kashiwagiほぼ12年前に更新

h3. 概要

* スマホ版コミュニティタイムラインにおいて,タイムラインの表示がされない.
* タイムラインの投稿をしても反映されない(投稿のAPIリクエストは投げられている.)

h3. 原因

apps/pc_frontend/modules/timeline/templates/_smtTimelineCommunity.php の78行目にhideクラスが付けられているため,タイムラインが display:none; な状態となっている.

h3. 修正方針

<pre>
diff --git a/apps/pc_frontend/modules/timeline/templates/_smtTimelineCommunity.php b/apps/pc_frontend/modules/timeline/templates/_smtTimelineCommunity.php
index 4eedb80..d93e811 100644
--- a/apps/pc_frontend/modules/timeline/templates/_smtTimelineCommunity.php
+++ b/apps/pc_frontend/modules/timeline/templates/_smtTimelineCommunity.php
@@ -75,7 +75,7 @@ var gorgon = {
<div class="gadget_header span12">コミュニティタイムライン</div>
</div>

-<div id="timeline-list" class="span12 hide" data-post-baseurl="<?php echo url_for('@homepage', array('absolute' => true)); ?>" data-last-id="" data-loadmore-id="" style="margin-left: 0px;">
+<div id="timeline-list" class="span12" data-post-baseurl="<?php echo url_for('@homepage', array('absolute' => true)); ?>" data-last-id="" data-loadmore-id="" style="margin-left: 0px;">
</div>
<div id="timeline-list-loader" class="row span12 center show" style="margin-top: 20px; margin-bottom: 20px;">
<?php echo op_image_tag('ajax-loader.gif', array('alt' => 'Now Loading...')) ?>
</pre>

戻る