user filter auto submit v35
This commit is contained in:
parent
3657def909
commit
b00c0954f6
@ -50,7 +50,7 @@ class common
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version
|
||||
const ZWII_VERSION = '1.0.34';
|
||||
const ZWII_VERSION = '1.0.35';
|
||||
|
||||
// URL autoupdate
|
||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/';
|
||||
|
@ -10,6 +10,8 @@
|
||||
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
|
||||
* @link http://zwiicms.fr/
|
||||
*/
|
||||
|
||||
$(document).ready((function () {
|
||||
(".userDelete").on("click", (function () {
|
||||
var _this = $(this);
|
||||
return message = "<?php echo helper::translate('Confirmer la désinscription de cet utilisateur');?>", core.confirm(message, (function () {
|
||||
@ -22,3 +24,7 @@
|
||||
$(location).attr("href", _this.attr("href"))
|
||||
}))
|
||||
}));
|
||||
$("#userFilterGroup, #userFilterFirstName, #userFilterLastName").change(function () {
|
||||
$("#userFilterUserForm").submit();
|
||||
});
|
||||
}));
|
@ -43,12 +43,6 @@
|
||||
'selected' => isset($_POST['courseFilterLastName']) ? $_POST['courseFilterLastName'] : 'all',
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col2 offset1">
|
||||
<?php echo template::submit('courseFilterSubmit', [
|
||||
'value' => 'Filtrer',
|
||||
'uniqueSubmission' => true
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user