Commit f6f9fe95 authored by aurelien's avatar aurelien
Browse files

nettoyage code

parent 52deb1e2
......@@ -179,8 +179,7 @@ root.controller('EventNewCtrl', ['$scope','$http' ,'$stateParams','$eventsFactor
if($('.typeahead')){
$('#inputMembers').typeahead("destroy");
}
var array=newEventCtrl.newEvent.recipient;
console.log(newEventCtrl.newEvent.recipient);
var array=[newEventCtrl.newEvent.recipient];
var session = $scope._getSession();
var session = $scope._getSession();
......
......@@ -201,7 +201,7 @@
function _getOptions() {
return angular.extend({}, toastrConfig);
}
// la a voir
function _createOrGetContainer(options) {
if(container) { return containerDefer.promise; }
......
......@@ -73,9 +73,7 @@ function $alertFactory($languageFactory, $location, $injector, $inputErrorFactor
$inputErrorFactory.newInputError($languageFactory._labels.errors_waza[codeWaza]);
}
// affichage erreurs a voirs
// else toastAlert(type, $languageFactory._labels.errors_waza[codeWaza]);
else toastAlert(type, $languageFactory._labels.errors_waza[codeWaza]);
}
else showHttpAlert(type, code.substr(0,3));
}
......
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