Index: lams_central/web/editprofile.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/editprofile.jsp,v diff -u -r1.23.2.11 -r1.23.2.12 --- lams_central/web/editprofile.jsp 29 Nov 2016 15:47:51 -0000 1.23.2.11 +++ lams_central/web/editprofile.jsp 8 Dec 2016 04:08:28 -0000 1.23.2.12 @@ -34,7 +34,10 @@ type : $("#newForm").attr('method'), url : $("#newForm").attr('action'), success : function(data) { - window.parent.location.reload(); + if ( data.indexOf('profileRestrictions') > 0) + $("html").html(data); + else + window.parent.location.reload(); } }); }