From c72814a0d0385d68d9179a5e205f67e54eb8ac0c Mon Sep 17 00:00:00 2001 From: joyqi Date: Sat, 19 Oct 2013 20:18:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=81=97=E6=BC=8F=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/write-js.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/admin/write-js.php b/admin/write-js.php index 25c21a29..b3eaa560 100644 --- a/admin/write-js.php +++ b/admin/write-js.php @@ -180,6 +180,13 @@ $(document).ready(function() { return false; }); + $('.edit-draft-notice a').click(function () { + if (confirm('')) { + window.location.href = $(this).attr('href'); + } + + return false; + }); }); markdown && (!$content->have() || $content->isMarkdown)): ?>