Changeset 3298

Show
Ignore:
Timestamp:
05/20/07 16:33:59 (20 months ago)
Author:
graphittie
Message:

#346 : Safari에서 댓글 수정 후 바로 '댓글 수정/삭제' 버튼을 누르면 동작하지 않음.

  • 댓글 팝업을 띄우고 윈도우의 close 버튼으로 팝업창을 닫았을 경우, 기존의 버그가 다시 나타나는 문제 수정. Try - catch 예외처리를 추가함.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/script/common2.js

    r3293 r3298  
    10871087    width = 450; 
    10881088    height = 400; 
    1089     if(openWindow != '') openWindow.close(); 
     1089    try { 
     1090        if(openWindow != '') openWindow.close(); 
     1091    } catch (e) {} 
    10901092    openWindow = window.open(blogURL + "/comment/delete/" + id, "tatter", "width="+width+",height="+height+",location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"); 
    10911093    openWindow.focus(); 
     
    10961098    width = 450; 
    10971099    height = 380; 
    1098     if(openWindow != '') openWindow.close(); 
     1100    try { 
     1101        if(openWindow != '') openWindow.close(); 
     1102    } catch (e) {} 
    10991103    openWindow = window.open(blogURL + "/comment/comment/" + parent, "tatter", "width="+width+",height="+height+",location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"); 
    11001104    openWindow.focus();