Commit 8eace8b1 authored by Raph El's avatar Raph El
Browse files

Hotfix

parent 07dd7c04
......@@ -1046,9 +1046,10 @@ function getAjaxFiche(url, breadcrumLevel){
urlHash.indexOf("stat") < 0 &&
urlHash.indexOf("log") < 0 &&
urlHash.indexOf("default.view") < 0 &&
urlHash.indexOf("gallery") < 0 &&
urlHash.indexOf("gallery") < 0 &&
urlHash.indexOf("person.changepassword") < 0 &&
urlHash.indexOf("news") < 0 &&
urlHash.indexOf("network") < 0 &&
urlHash.indexOf("network") < 0 &&
urlHash.indexOf("invite") < 0){
urlSplit=urlHash.replace( "#","" ).split(".");
......
......@@ -9,7 +9,7 @@ HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFilesTheme,Yii::app()->reque
<div id="changePassword" >
<!-- start: PAGE CONTENT -->
<div class="noteWrap col-md-6 col-md-offset-3">
<div class="noteWrap col-md-6 col-md-offset-3" style="background-color: white">
<!-- <div class="panel panel-white"> -->
<!-- <div class="panel-heading border-light"> -->
<h1 class="text-red" style="font-size:20px;"><i class="fa fa-key"></i> Changer votre mot de passe</h1>
......@@ -20,10 +20,11 @@ HtmlHelper::registerCssAndScriptsFiles($cssAnsScriptFilesTheme,Yii::app()->reque
<div class="row">
<div class="col-md-12">
<div class="errorHandler alert alert-danger no-display">
<i class="fa fa-times-sign"></i> You have some form errors. Please check below.
<i class="fa fa-times-sign"></i> Des erreurs sont présentes. Vérifier ci dessous
</div>
<div class="errorHandler alert alert-danger no-display messageError"></div>
<div class="successHandler alert alert-success no-display">
<i class="fa fa-ok"></i> Your form validation is successful!
<i class="fa fa-ok"></i> La validation de votre formulaire est réussie !
</div>
</div>
<div>
......@@ -108,6 +109,8 @@ var formValidator = function() {
success: function(data){
if(!data.result){
toastr.error(data.msg);
$(".messageError").html(data.msg);
$(".messageError").show();
$.unblockUI();
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment