From 3c16142ba4938aad7133ae6f546e0d201e06c7ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=20=E7=99=BD?= Date: Thu, 5 Jul 2018 17:06:37 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=A3=E6=9E=90=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=8E=92=E5=BA=8F=E5=90=8E=E6=8C=89=E9=92=AE=E4=B8=8D?= =?UTF-8?q?=E8=B5=B7=E4=BD=9C=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/view/index/index.html | 2 +- application/index/view/record/info.html | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/application/index/view/index/index.html b/application/index/view/index/index.html index 36e9c5f..d802822 100644 --- a/application/index/view/index/index.html +++ b/application/index/view/index/index.html @@ -123,7 +123,7 @@ レコード - + {volist name="d_list.domains" id="vo"} diff --git a/application/index/view/record/info.html b/application/index/view/record/info.html index 7516b99..23c2930 100644 --- a/application/index/view/record/info.html +++ b/application/index/view/record/info.html @@ -128,7 +128,7 @@ レコード - + {volist name="r_list.records" id="vo"} {neq name="vo.type" value="SOA"} {:substr($vo['name'], 0, -1)} @@ -315,7 +315,8 @@ }); }); - $('.btn-domain-edit').click(function () { + $('#srk-record-list').on('click', '.btn-domain-edit', function () { + // $('.btn-domain-edit').on('click', function () { $("#record-edit").modal(); $('#edit-record').attr('value', $(this).parent().parent().find('.record').html()); $('#edit-type').attr('value', $(this).parent().parent().find('.type').html()); @@ -391,7 +392,8 @@ }); - $('.btn-domain-delete').click(function () { + $('#srk-record-list').on('click', '.btn-domain-delete', function () { + // $('.btn-domain-delete').on('click', function () { $.ajax({ url: '/index/record/delete', async: false,