'+c+": "+b+"";this.container.appendChild(d.element);var f=this.pushStack(this.stack,
-d,[null]);d.element.id=f;var g=this;d.element.className="notification-element notification-visible";setTimeout(function(){d.element.className="notification-element"},500+e);d.timeout=setTimeout(function(){g.hide(f)},500+e+500);d.element.addEventListener("click",function(a){g.hide(f)},!1);return d.element};NotificationClass.prototype.warning=function(a,c,b){return this.show("warning",a,c,b)};NotificationClass.prototype.info=function(a,c,b){return this.show("info",a,c,b)};
-NotificationClass.prototype.success=function(a,c,b){return this.show("success",a,c,b)};NotificationClass.prototype.error=function(a,c,b){return this.show("error",a,c,b)};
+NotificationClass.prototype.show=function(a,c,b,e){a=-1"+c+": "+b+"";this.container.appendChild(d.element);
+var f=this.pushStack(this.stack,d,[null]);d.element.id=f;var g=this;d.element.className="notification-element notification-visible";setTimeout(function(){d.element.className="notification-element"},500+e);d.timeout=setTimeout(function(){g.hide(f)},500+e+500);d.element.addEventListener("click",function(a){g.hide(f)},!1);return d.element};NotificationClass.prototype.warning=function(a,c,b){return this.show("warning",a,c,b)};
+NotificationClass.prototype.info=function(a,c,b){return this.show("info",a,c,b)};NotificationClass.prototype.success=function(a,c,b){return this.show("success",a,c,b)};NotificationClass.prototype.error=function(a,c,b){return this.show("error",a,c,b)};
diff --git a/js/lib/notif.js b/js/lib/notif.js
index 81322ae..f1c75fd 100644
--- a/js/lib/notif.js
+++ b/js/lib/notif.js
@@ -130,7 +130,8 @@ NotificationClass.prototype.show = function(type, title, message, timeout){
/* (2) Construction de l'élément */
stackItem.element.className = 'notification-element';
- stackItem.element.innerHTML = '
'+title+': '+message+'
';
+ stackItem.element.setAttribute('data-'+type, '');
+ stackItem.element.innerHTML = '
'+title+': '+message+'
';
/* (2) Ajout à la pile et au DOM
---------------------------------------------------------*/
diff --git a/src/upload/call_log/xdrm.xml b/src/upload/call_log/xdrm.xml
index b615998..d18fde5 100755
--- a/src/upload/call_log/xdrm.xml
+++ b/src/upload/call_log/xdrm.xml
@@ -1,69 +1,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/view/js/input-min.js b/view/js/input-min.js
index ed28ab7..f877da6 100644
--- a/view/js/input-min.js
+++ b/view/js/input-min.js
@@ -12,4 +12,4 @@ subjectManager.storageToFields();contactManager.storageToFields();miniManager.st
matrice:lsi["export"]("matrice")[0]};var b=$("#download-target");b.download="local-data.json";b.href="data:application/octet-stream,"+encodeURIComponent(JSON.stringify(a));b.click()},!1);$("#import-all").addEventListener("click",function(a){$("#local-upload").click()},!1);$("#local-upload").addEventListener("click",function(a){a.target.value=null},!1);$("#local-upload").addEventListener("change",function(a){a={path:"upload/local_data",file:$("#local-upload").files[0]};api.send(a,function(a){console.log(a);
if(0!=a.ModuleError)return Notification.error("Erreur",a.ModuleError),!1;lsi.set("subject",0,a.local_data.subject);lsi["import"]("contacts",a.local_data.contacts);lsi["import"]("mini-fiches",a.local_data.mini);lsi["import"]("fiches",a.local_data.fiches);lsi.set("matrice",0,a.local_data.matrice);subjectManager.storageToFields();contactManager.storageToFields();matriceManager.storageToFields();dynamicUpdate(!0)})},!1);$("#submit-all").addEventListener("click",function(a){console.log("> GATHERING ALL DATA");
subjectManager.fieldsToStorage();contactManager.fieldsToStorage();miniManager.fieldsToStorage();ficheManager.fieldsToStorage();if(!subjectManager.check())return Notification.warning("Attention","Vous devez saisir les informations du sujet"),!1;a=lsi["export"]("mini-fiches");for(var b in a)if(!a[b].valid)return Notification.warning("Attention","La fiche rapide "+(parseInt(b)+1)+" est incompl\u00e8te et/ou incorrecte"),!1;a=lsi["export"]("fiches");for(b in a)if(!a[b].valid)return Notification.warning("Attention",
-"La fiche compl\u00e8te "+(parseInt(b)+1)+" est incompl\u00e8te et/ou incorrecte"),!1;b={path:"input/phone",subject:lsi["export"]("subject")[0],contacts:lsi["export"]("contacts"),mini:lsi["export"]("mini-fiches"),fiches:lsi["export"]("fiches"),matrice:lsi["export"]("matrice")[0]};api.send(b,function(a){if(0!=a.ModuleError)return Notification.error("ERREUR",ModuleError),!1;console.log(a)},!1)},!1)})})})})});
+"La fiche compl\u00e8te "+(parseInt(b)+1)+" est incompl\u00e8te et/ou incorrecte"),!1;b={path:"input/phone",subject:lsi["export"]("subject")[0],contacts:lsi["export"]("contacts"),mini:lsi["export"]("mini-fiches"),fiches:lsi["export"]("fiches"),matrice:lsi["export"]("matrice")[0]};api.send(b,function(a){if(0!=a.ModuleError)return Notification.error("ERREUR",a.ModuleError),!1;console.log(a)},!1)},!1)})})})})});
diff --git a/view/js/input.js b/view/js/input.js
index cf4dba4..cb9d800 100644
--- a/view/js/input.js
+++ b/view/js/input.js
@@ -508,7 +508,7 @@ include('/js/includes/input-phone-matrice.js', function(){
api.send(request, function(response){
// Si erreur, on la notifie
if( response.ModuleError != 0 ){
- Notification.error('ERREUR', ModuleError);
+ Notification.error('ERREUR', response.ModuleError);
return false;
}