fix #93
This commit is contained in:
parent
b22da2501c
commit
82715dfecb
4 changed files with 8 additions and 8 deletions
|
@ -354,8 +354,8 @@ labels.search_result_sort_favoriteCount_desc=Favorite (descending)
|
|||
labels.search_result_size={0} bytes
|
||||
labels.search_result_created=Registered:
|
||||
labels.search_result_lastModified=Last Modified:
|
||||
labels.search_result_favorite=Vote it ({0})
|
||||
labels.search_result_favorited=Voted ({0})
|
||||
labels.search_result_favorite=Vote it
|
||||
labels.search_result_favorited=Voted
|
||||
labels.search_click_count=Click: {0}
|
||||
labels.search_result_more=more..
|
||||
|
||||
|
|
|
@ -354,8 +354,8 @@ labels.search_result_sort_favoriteCount_desc=\u304a\u6c17\u306b\u5165\u308a\u657
|
|||
labels.search_result_size={0} \u30d0\u30a4\u30c8
|
||||
labels.search_result_created=\u767b\u9332\u65e5\u6642:
|
||||
labels.search_result_lastModified=\u66f4\u65b0\u65e5\u6642:
|
||||
labels.search_result_favorite=1\u7968\u5165\u308c\u308b ({0})
|
||||
labels.search_result_favorited=\u6295\u7968\u6e08\u307f ({0})
|
||||
labels.search_result_favorite=1\u7968\u5165\u308c\u308b
|
||||
labels.search_result_favorited=\u6295\u7968\u6e08\u307f
|
||||
labels.search_click_count=\u30af\u30ea\u30c3\u30af\u6570: {0}
|
||||
labels.search_result_more=\u8a73\u7d30..
|
||||
|
||||
|
|
|
@ -63,11 +63,9 @@
|
|||
<c:if test="${favoriteSupport}">
|
||||
<c:if test="${hasInfo}"><span class="br-phone"></span><span class="hidden-phone">-</span></c:if><c:set var="hasInfo" value="true"/>
|
||||
<a href="#${doc.docId}" class="favorite"><bean:message
|
||||
key="labels.search_result_favorite"
|
||||
arg0="${f:h(doc.favoriteCount_l_x_dv)}" /></a>
|
||||
key="labels.search_result_favorite" /> (${f:h(doc.favoriteCount_l_x_dv)})</a>
|
||||
<span class="favorited"><bean:message
|
||||
key="labels.search_result_favorited"
|
||||
arg0="${f:h(doc.favoriteCount_l_x_dv)}" /></span>
|
||||
key="labels.search_result_favorited"/> <span class="favorited-count">(${f:h(doc.favoriteCount_l_x_dv)})</span></span>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -76,6 +76,8 @@ $(function(){
|
|||
&& typeof data.response.result !== 'undefined'
|
||||
&& data.response.result === 'ok'){
|
||||
var $favorited = $favorite.siblings('.favorited');
|
||||
var $favoritedCount = $('.favorited-count', $favorited);
|
||||
$favoritedCount.css('display', 'none');
|
||||
$favorite.fadeOut(1000, function(){$favorited.fadeIn(1000)});
|
||||
}
|
||||
}).fail(function ( data ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue