Revize 410613f3
Přidáno uživatelem David Raška před asi 9 roky(ů)
application/views/js/base.php | ||
---|---|---|
|
||
return confirm;
|
||
});
|
||
|
||
// asking before action
|
||
$('.confirm_link').live('click', function(e)
|
||
{
|
||
var action = $(this).attr('title');
|
||
var confirm = window.confirm('<?php echo __('Do you really want to') ?> '+action+'?');
|
||
|
||
if (!confirm)
|
||
e.stopImmediatePropagation();
|
||
|
||
return confirm;
|
||
});
|
||
|
||
// validate all form and filters
|
||
$('.form, #filter_form').each(function() {
|
Také k dispozici: Unified diff
refs #988: Added support for onetime passwords