Correction gestion profil

This commit is contained in:
Michael RICOIS 2012-01-19 11:23:51 +00:00
parent a0aaeb43ee
commit 69a27b1732
2 changed files with 5 additions and 5 deletions

View File

@ -116,7 +116,7 @@ $(function() {
var ref = $('input[name=profil]').val();
if (ref!='') {
$.post(url, { reference: ref, criteres: list.join() }, function(data){
if (data!='Erreur'){ window.location.href = './'; }
if (data!='Erreur'){ window.location.href = '/'; }
}, 'json');
}
});

View File

@ -3,10 +3,10 @@
<table>
<thead>
<th>
<td>Référence</td>
<td>Action</td>
</th>
<tr>
<th>Référence</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php foreach($this->profils as $profil) {?>