Fix tag page slide issues
This commit is contained in:
parent
5328a26440
commit
cf7f7aa29c
|
@ -55,6 +55,13 @@
|
||||||
} else {
|
} else {
|
||||||
$viewPage.find('.content').load(url, function(){
|
$viewPage.find('.content').load(url, function(){
|
||||||
$viewPage.clone(true).appendTo( $pageslide.empty() ).show();
|
$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);
|
if(callback)callback.call(this,$viewPage,element);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,6 @@ $("#tags_index").html("<%= j render 'index' %>")
|
||||||
$.pageslide.close();
|
$.pageslide.close();
|
||||||
openSlide();
|
openSlide();
|
||||||
$('.card').cardCheck({
|
$('.card').cardCheck({
|
||||||
check: $('.card input[type="checkbox"]'),
|
item: $('.card input[type="checkbox"]'),
|
||||||
});
|
});
|
||||||
checkedLength()
|
checkedLength()
|
|
@ -4,6 +4,6 @@ $("#tags_index").html("<%= j render 'index' %>")
|
||||||
$.pageslide.close();
|
$.pageslide.close();
|
||||||
openSlide();
|
openSlide();
|
||||||
$('.card').cardCheck({
|
$('.card').cardCheck({
|
||||||
check: $('.card input[type="checkbox"]'),
|
item: $('.card input[type="checkbox"]'),
|
||||||
});
|
});
|
||||||
checkedLength()
|
checkedLength()
|
|
@ -2,6 +2,7 @@ en:
|
||||||
add_category: Add category
|
add_category: Add category
|
||||||
add_link: Add link
|
add_link: Add link
|
||||||
add_page: Add page
|
add_page: Add page
|
||||||
|
add_tags: Add Tags
|
||||||
add_to_default: Add to default
|
add_to_default: Add to default
|
||||||
alternative: Alternative
|
alternative: Alternative
|
||||||
approval_setting: Approval Setting
|
approval_setting: Approval Setting
|
||||||
|
@ -70,4 +71,5 @@ en:
|
||||||
error:
|
error:
|
||||||
tag: Error when updating category
|
tag: Error when updating category
|
||||||
tag: Error when updating tag
|
tag: Error when updating tag
|
||||||
url_alt: Alternative text
|
url_alt: Alternative text
|
||||||
|
use_default: Use Default
|
|
@ -2,6 +2,7 @@ zh_tw:
|
||||||
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 @@ zh_tw:
|
||||||
tag: 更新類別時發生錯誤
|
tag: 更新類別時發生錯誤
|
||||||
tag: 更新標籤時發生錯誤
|
tag: 更新標籤時發生錯誤
|
||||||
url_alt: 註解
|
url_alt: 註解
|
||||||
|
use_default: Use Default
|
||||||
|
|
Loading…
Reference in New Issue