단축키 일람 toggle 시 단축키 일람 닫기 문구 추가
This commit is contained in:
@ -20,8 +20,10 @@ function editor_html($id, $content, $ckeditor=true, $class="")
|
|||||||
$(".btn_cke_sc").click(function(){
|
$(".btn_cke_sc").click(function(){
|
||||||
if ($(this).next("div.cke_sc_def").length) {
|
if ($(this).next("div.cke_sc_def").length) {
|
||||||
$(this).next("div.cke_sc_def").remove();
|
$(this).next("div.cke_sc_def").remove();
|
||||||
|
$(this).text("단축키 일람");
|
||||||
} else {
|
} else {
|
||||||
$(this).after("<div class=\'cke_sc_def\' />").next("div.cke_sc_def").load("'.G4_CKEDITOR_URL.'/shortcut.html");
|
$(this).after("<div class=\'cke_sc_def\' />").next("div.cke_sc_def").load("'.G4_CKEDITOR_URL.'/shortcut.html");
|
||||||
|
$(this).text("단축키 일람 닫기");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(".btn_cke_sc_close").live("click",function(){
|
$(".btn_cke_sc_close").live("click",function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user