From 6525a8f5888b4976d18ed994c12fc9cd7ff3e526 Mon Sep 17 00:00:00 2001 From: Argo-Lenovo Date: Thu, 6 Apr 2017 12:07:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=96=B0=E7=94=A8=E6=88=B7=E5=90=8E=EF=BC=8C=E5=8F=B3=E4=B8=8A?= =?UTF-8?q?=E8=A7=92=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=E8=A2=AB=E6=94=B9?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.Admin/Scripts/Users.js | 2 +- Bootstrap.Admin/Views/Shared/Header.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Bootstrap.Admin/Scripts/Users.js b/Bootstrap.Admin/Scripts/Users.js index dfb1f423..73878921 100644 --- a/Bootstrap.Admin/Scripts/Users.js +++ b/Bootstrap.Admin/Scripts/Users.js @@ -75,7 +75,7 @@ }] }, callback: function (data) { - if (data && data.success && data.oper === 'save') { + if (data && data.success && data.oper === 'save' && data.UserName == $('#userDisplayName').attr('data-userName')) { $('#userDisplayName').text(data.data.DisplayName); } if (data && data.oper === 'create') { diff --git a/Bootstrap.Admin/Views/Shared/Header.cshtml b/Bootstrap.Admin/Views/Shared/Header.cshtml index 54e1a1c7..d4626e20 100644 --- a/Bootstrap.Admin/Views/Shared/Header.cshtml +++ b/Bootstrap.Admin/Views/Shared/Header.cshtml @@ -97,7 +97,7 @@