From 730cffcb5ba9ae439ac47f5ac0733a439bfe6155 Mon Sep 17 00:00:00 2001 From: "henry.chen" Date: Fri, 17 Nov 2017 13:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E7=AB=A0=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E4=BF=9D=E5=AD=98bug+=E5=8F=91=E5=B8=83=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E4=B8=8D=E6=88=90=E5=8A=9Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- views/admin/post.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/views/admin/post.html b/views/admin/post.html index 2ba5edf..9e821b7 100644 --- a/views/admin/post.html +++ b/views/admin/post.html @@ -265,7 +265,6 @@ $(document).ready(function() { function autoSaveListener() { setInterval(function() { - idInput.val(cid); var data = form.serialize(); if (savedData != data && !locked) { @@ -275,7 +274,7 @@ $(document).ready(function() { $.post(formAction, data + '&do=auto', function(o) { savedData = data; lastSaveTime = o.time; - cid = o.cid; + idInput.val(o.cid); autoSave.text('已保存' + ' (' + o.time + ')').effect('highlight', 1000); locked = false; }, 'json');