OSDN Git Service

FIX: XMLHTTPRequestによるドラフト保存が出来なかったバグの修正
[nucleus-jp/nucleus-next.git] / skins / admin / bookmarklet / javascripts / xmlhttprequest.js
index 6c0b934..ff7a6ba 100644 (file)
@@ -76,10 +76,10 @@ function autoSaveDraft() {
        checks = 0;
        seconds = now();
 
-       var title = encodeURIComponen(addform.title.value);
-       var body = encodeURIComponen(addform.body.value);
+       var title = encodeURIComponent(addform.title.value);
+       var body = encodeURIComponent(addform.body.value);
        var catid = addform.catid.options[addform.catid.selectedIndex].value;
-       var more = encodeURIComponen(addform.more.value);
+       var more = encodeURIComponent(addform.more.value);
        var closed = 0;
        if (addform.closed[0].checked) {
                closed = addform.closed[0].value;