From fb0288049e4d43fddba7bd87be9991c2722f0b5d Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Thu, 8 Nov 2018 16:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9Abootstrap-table?= =?UTF-8?q?=20=E7=89=88=E6=9C=ACbug=EF=BC=8Ctoggle=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E4=BD=BF=E7=94=A8toggleOff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/wwwroot/js/longbow.common.js | 3 +++ Bootstrap.Client/wwwroot/js/longbow.common.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Bootstrap.Admin/wwwroot/js/longbow.common.js b/Bootstrap.Admin/wwwroot/js/longbow.common.js index 81db3f90..68958218 100644 --- a/Bootstrap.Admin/wwwroot/js/longbow.common.js +++ b/Bootstrap.Admin/wwwroot/js/longbow.common.js @@ -361,6 +361,9 @@ $('[data-toggle="popover"]').popover(); $('[data-toggle="lgbinfo"]').lgbInfo(); $('.date').lgbDatePicker(); + + // fix bug bootstrap-table 1.12.1 showToggle + $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggle = $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggleOff; }); // Roles diff --git a/Bootstrap.Client/wwwroot/js/longbow.common.js b/Bootstrap.Client/wwwroot/js/longbow.common.js index 2a029144..e3c647bc 100644 --- a/Bootstrap.Client/wwwroot/js/longbow.common.js +++ b/Bootstrap.Client/wwwroot/js/longbow.common.js @@ -422,5 +422,8 @@ $('[data-toggle="popover"]').popover(); $('[data-toggle="lgbinfo"]').lgbInfo(); $('.date').lgbDatePicker(); + + // fix bug bootstrap-table 1.12.1 showToggle + $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggle = $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggleOff; }); })(jQuery); \ No newline at end of file