From bf2a8410cbe6050ff396c03e16c4961b3d5df544 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Thu, 15 Dec 2016 13:27:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96Longbow.Common.js=E5=86=85?= =?UTF-8?q?=E9=83=A8=E4=B8=80=E4=B8=AAjs=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Content/js/Longbow.Common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap.Admin/Content/js/Longbow.Common.js b/Bootstrap.Admin/Content/js/Longbow.Common.js index 76b4197d..5d176128 100644 --- a/Bootstrap.Admin/Content/js/Longbow.Common.js +++ b/Bootstrap.Admin/Content/js/Longbow.Common.js @@ -309,11 +309,11 @@ clickToSelect: false }, options); $(this).bootstrapTable(settings); - $('div.toolbar').insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars')); + var $toolbar = $('div.toolbar'); $('div.toolbar').on('click', 'a', function () { var ctl = $('#' + $(this).attr('id').replace('tb_', 'btn_')); ctl.trigger("click"); - }); + }).insertBefore($('div.bootstrap-table > div.fixed-table-toolbar > div.bs-bars')); }, select: function () { var $this = $(this);