Changeset 5340

Show
Ignore:
Timestamp:
02/21/08 23:21:31 (11 months ago)
Author:
inureyes
Message:

#703

  • ajax 로 ACL 변환이 안되던 버그 수정
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/interface/owner/control/blog/detail/index.php

    r5339 r5340  
    3737                         
    3838                        function deleteBlog(bid) { 
    39                             if (!confirm("<?php echo _t('되돌릴 수 없습니다.');?>\t\n\n<?php echo _t('계속 진행하시겠습니까?');?>"))) return false; 
     39                            if (!confirm("<?php echo _t('되돌릴 수 없습니다.');?>\t\n\n<?php echo _t('계속 진행하시겠습니까?');?>")) return false; 
    4040                            var request = new HTTPRequest("GET", "<?php echo $blogURL;?>/owner/control/action/blog/delete/?item="+bid); 
    4141                            request.onSuccess = function() { 
     
    6969                            var request = new HTTPRequest("GET", "<?php echo $blogURL;?>/owner/control/action/blog/changeACL/?blogid=" + <?php echo $bid?> + "&acltype=" + acltype + "&userid=" + userid + "&switch=" + checked); 
    7070                            request.onSuccess = function() { 
    71                                 alert("<?php echo _t('설정을 변경했습니다.');?>", "center", "bottom"); 
     71                                PM.showMessage("<?php echo _t('설정을 변경했습니다.');?>", "center", "bottom"); 
    7272                                window.location.reload(); 
    7373                            } 
    7474                            request.onError = function() { 
    75                                 alert("<?php echo _t('실패했습니다.');?>"); 
     75                                PM.showErrorMessage("<?php echo _t('실패했습니다.');?>", "center", "bottom"); 
    7676                            } 
    7777                            request.send(); 
    78 ); 
    7978                        } 
    8079