mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
11 lines
323 B
JavaScript
11 lines
323 B
JavaScript
(function ($) {
|
|
$(document).on('click', '.confirmedpassword .showOnClick a', function () {
|
|
var $container = $('.showOnClickContainer', $(this).parent());
|
|
|
|
$container.toggle('fast', function() {
|
|
$container.find('input[type="hidden"]').val($container.is(":visible") ? 1 : 0);
|
|
});
|
|
|
|
return false;
|
|
});
|
|
})(jQuery); |