Changeset 483

Show
Ignore:
Timestamp:
09/03/07 09:40:25 (3 years ago)
Author:
jparker
Message:
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • expansion_pack/textcube/plugins/FootNote/index.php

    r465 r483  
    7878            var isWYSIWYG = false; 
    7979            try{ 
    80                 if(editor.editMode == "WYSIWYG") 
     80                if(editor.editMode == 'WYSIWYG') 
    8181                    isWYSIWYG = true; 
    8282            } 
     
    8484            if(isWYSIWYG) { 
    8585                var note = prompt('이 곳에 넣을 주석을 적어주세요.', ''); 
    86                 if(note!='') { editor.command("Raw", '[footnote]' + note + '[/footnote]', "");} 
     86                if(note != '') { editor.command('Raw', '[footnote]' + note + '[/footnote]', '');} 
    8787            }else{ 
    88                 insertTag('[footnote]', '[/footnote]'); 
     88                var note = prompt('이 곳에 넣을 주석을 적어주세요.', ''); 
     89                insertTag(editor.textarea, '[footnote]' + note, '[/footnote]'); 
    8990            } 
    9091        } 
    9192    //]]> 
    92     </script> 
    93     <script type="text/javascript"> 
    94         editor.contentDocument.body.innerHTML = editor.ttml2html(editor.textarea.value); 
    9593    </script> 
    9694    <a href="#" tabindex="125" onClick="AddFootNote();return false;" alt="" title="">주석추가</a>&nbsp;