Fix tag page slide issues

This commit is contained in:
chris 2013-10-08 12:47:31 +08:00
parent 5328a26440
commit cf7f7aa29c
5 changed files with 14 additions and 3 deletions

View File

@ -55,6 +55,13 @@
} else {
$viewPage.find('.content').load(url, function(){
$viewPage.clone(true).appendTo( $pageslide.empty() ).show();
if($('#filter-default-tag').length) {
$('#filter-default-tag').fastLiveFilter('.add-default-tags-list', '.filter-item', '.tag');
addTagsTab();
$('#view-page .card').cardCheck({
item: $('#view-page input[type="checkbox"]'),
});
};
if(callback)callback.call(this,$viewPage,element);
});
}

View File

@ -5,6 +5,6 @@ $("#tags_index").html("<%= j render 'index' %>")
$.pageslide.close();
openSlide();
$('.card').cardCheck({
check: $('.card input[type="checkbox"]'),
item: $('.card input[type="checkbox"]'),
});
checkedLength()

View File

@ -4,6 +4,6 @@ $("#tags_index").html("<%= j render 'index' %>")
$.pageslide.close();
openSlide();
$('.card').cardCheck({
check: $('.card input[type="checkbox"]'),
item: $('.card input[type="checkbox"]'),
});
checkedLength()

View File

@ -2,6 +2,7 @@ en:
add_category: Add category
add_link: Add link
add_page: Add page
add_tags: Add Tags
add_to_default: Add to default
alternative: Alternative
approval_setting: Approval Setting
@ -71,3 +72,4 @@ en:
tag: Error when updating category
tag: Error when updating tag
url_alt: Alternative text
use_default: Use Default

View File

@ -2,6 +2,7 @@ zh_tw:
add_category: 新增類別
add_link: 新增連結
add_page: 新增頁面
add_tags: Add Tags
add_to_default: 加入預設
alternative: 註解
approval_setting: 審核設定
@ -71,3 +72,4 @@ zh_tw:
tag: 更新類別時發生錯誤
tag: 更新標籤時發生錯誤
url_alt: 註解
use_default: Use Default