Changeset 4869

Show
Ignore:
Timestamp:
12/25/07 16:53:11 (2 years ago)
Author:
inureyes
Message:

#718

  • fastCGI 이외의 환경에서 인자가 붙어서 value로 처리되는 문제 수정
  • [4864] 의 연장선에 있음.
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/blog/owner/entry/edit/item.php

    r4799 r4869  
    267267                                        request.message = "<?php echo _t('불러오고 있습니다');?>"; 
    268268                                        request.onSuccess = function () { 
     269                                            PM.removeRequest(this); 
    269270                                            PM.showMessage("<?php echo _t('서식을 반영하였습니다.');?>", "center", "bottom"); 
    270271                                            templateTitle = this.getText("/response/title"); 
     
    272273                                            entryManager.entryId = this.getText("/response/entryId"); 
    273274                                            entryManager.isSaved = true; 
    274                                             PM.removeRequest(this); 
    275275                                            var title = trim(oForm.title.value); 
    276276                                            if(title.length == 0) { 
     
    319319                                        } 
    320320                                        request.onSuccess = function () { 
     321                                            PM.removeRequest(this); 
    321322                                            if(entryManager.autoSave == true) { 
    322323                                                document.getElementById("saveButton").value = "<?php echo _t('자동으로 저장됨');?>"; 
     
    334335                                            } 
    335336 
    336                                             if(entryManager.autoSave != true) { 
    337                                                 PM.removeRequest(this); 
    338                                             } 
    339337                                            entryManager.savedData = this.content; 
    340338                                            if (entryManager.savedData == entryManager.getData()) 
     
    348346                                        request.onError = function () { 
    349347                                            PM.removeRequest(this); 
    350                                             alert("<?php echo _t('저장하지 못했습니다.');?>"); 
     348                                            PM.showErrorMessage("<?php echo _t('저장하지 못했습니다.');?>", "center", "bottom"); 
    351349                                            this.nowsaving = false; 
    352350                                        } 
    353351                                        if(entryManager.autoSave != true) { 
    354352                                            PM.addRequest(request, "<?php echo _t('저장하고 있습니다.');?>"); 
    355                                         } 
     353                                        } else { 
     354                                            PM.addRequest(request); 
     355                                        }                                            
    356356                                        request.send(data); 
    357357                                    } 
  • trunk/lib/suri.php

    r4854 r4869  
    8282    $suri['value'] = ltrim($url, '/'); 
    8383} 
     84$suri['value'] = strtok($suri['value'], '?'); 
    8485if (is_numeric($suri['value'])) { 
    8586    $suri['id'] = $suri['value'];