Changeset 4869
- Timestamp:
- 12/25/07 16:53:11 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
blog/owner/entry/edit/item.php (modified) (5 diffs)
-
lib/suri.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/blog/owner/entry/edit/item.php
r4799 r4869 267 267 request.message = "<?php echo _t('불러오고 있습니다');?>"; 268 268 request.onSuccess = function () { 269 PM.removeRequest(this); 269 270 PM.showMessage("<?php echo _t('서식을 반영하였습니다.');?>", "center", "bottom"); 270 271 templateTitle = this.getText("/response/title"); … … 272 273 entryManager.entryId = this.getText("/response/entryId"); 273 274 entryManager.isSaved = true; 274 PM.removeRequest(this);275 275 var title = trim(oForm.title.value); 276 276 if(title.length == 0) { … … 319 319 } 320 320 request.onSuccess = function () { 321 PM.removeRequest(this); 321 322 if(entryManager.autoSave == true) { 322 323 document.getElementById("saveButton").value = "<?php echo _t('자동으로 저장됨');?>"; … … 334 335 } 335 336 336 if(entryManager.autoSave != true) {337 PM.removeRequest(this);338 }339 337 entryManager.savedData = this.content; 340 338 if (entryManager.savedData == entryManager.getData()) … … 348 346 request.onError = function () { 349 347 PM.removeRequest(this); 350 alert("<?php echo _t('저장하지 못했습니다.');?>");348 PM.showErrorMessage("<?php echo _t('저장하지 못했습니다.');?>", "center", "bottom"); 351 349 this.nowsaving = false; 352 350 } 353 351 if(entryManager.autoSave != true) { 354 352 PM.addRequest(request, "<?php echo _t('저장하고 있습니다.');?>"); 355 } 353 } else { 354 PM.addRequest(request); 355 } 356 356 request.send(data); 357 357 } -
trunk/lib/suri.php
r4854 r4869 82 82 $suri['value'] = ltrim($url, '/'); 83 83 } 84 $suri['value'] = strtok($suri['value'], '?'); 84 85 if (is_numeric($suri['value'])) { 85 86 $suri['id'] = $suri['value'];
