Changeset 5040

Show
Ignore:
Timestamp:
01/13/08 15:26:57 (9 months ago)
Author:
inureyes
Message:

#798

  • 댓글에 댓글을 달 경우에는 버튼을 사용하지 못하도록 변경
  • 제대로 작동하는지 테스트를 할 수가 없었음. (댓글이 바로바로 달려서...)
  • 그냥 댓글의 경우 PM을 사용해서 페이지 동작을 정지시켜 버려야 하나 고민중. 스킨에 따라 너무 다양한 id를 가지고 있어서 버튼을 끄는 방식을 적용시킬 수가 없다.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/view/replyEditorView.php

    r4975 r5040  
    4242            function submitComment() { 
    4343                var oForm = document.commentToComment; 
     44                var oButton = document.submit-comment; 
     45                oButton.value = '<?php echo _text('저장중');?>'; 
     46                oButton.onclick = 'return false;'; 
    4447                trimAll(oForm); 
    4548<?php  
     
    125128                 
    126129                <div class="button-box"> 
    127                     <input type="button" class="input-button" value="<?php echo _text('완료');?>" onclick="<?php echo $confirmString;?> submitComment()" /> 
     130                    <input type="button" class="input-button" id="submit-comment" value="<?php echo _text('완료');?>" onclick="<?php echo $confirmString;?> submitComment()" /> 
    128131                </div> 
    129132            </div>