From ec608a159aa34131f1b5e35e497d9ead439221f6 Mon Sep 17 00:00:00 2001 From: joyqi Date: Sun, 20 Oct 2013 15:46:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=A6=BB=E5=BC=80=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/write-js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/write-js.php b/admin/write-js.php index cd80b27c..a96c69d8 100644 --- a/admin/write-js.php +++ b/admin/write-js.php @@ -117,11 +117,11 @@ $(document).ready(function() { var submitted = false, form = $('form[name=write_post],form[name=write_page]').submit(function () { submitted = true; - }); + }), savedData = null; // 自动保存 autoSave): ?> - var savedData = null, locked = false, + var locked = false, formAction = form.attr('action'), idInput = $('input[name=cid]'), cid = idInput.val(),