From bc1980b1fdcf8c045814bb166474c546fc449e1b Mon Sep 17 00:00:00 2001
From: Karson <karsonzhang@163.com>
Date: Thu, 22 Jun 2017 23:14:32 +0800
Subject: [PATCH] 编辑定时任务时周期未变更的BUG

---
 application/admin/view/general/crontab/edit.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/admin/view/general/crontab/edit.html b/application/admin/view/general/crontab/edit.html
index 57b6831..c893e61 100644
--- a/application/admin/view/general/crontab/edit.html
+++ b/application/admin/view/general/crontab/edit.html
@@ -25,7 +25,7 @@
     <div class="form-group">
         <label for="schedule" class="control-label col-xs-12 col-sm-2">{:__('Schedule')}:</label>
         <div class="col-xs-12 col-sm-8">
-            <input type="text" class="form-control" id="schedule" style="font-size:12px;font-family: Verdana;word-spacing:23px;" name="row[schedule]" value="* * * * *" data-rule="required; remote(general/crontab/check_schedule)" />
+            <input type="text" class="form-control" id="schedule" style="font-size:12px;font-family: Verdana;word-spacing:23px;" name="row[schedule]" value="{$row.schedule}" data-rule="required; remote(general/crontab/check_schedule)" />
             <div id="schedulepicker">
                 <pre><code>*    *    *    *    *
 -    -    -    -    -
--
libgit2 0.24.0