agenda: removing highlighting on current anchor on act validation

Closes #5468
This commit is contained in:
Serghei Mihai 2014-09-26 09:30:42 +02:00
parent 68a9fcc45a
commit c2424b7f85
1 changed files with 2 additions and 0 deletions

View File

@ -335,6 +335,8 @@ function event_dialog(url, title, width, btn_text) {
$('#actes .frame select').on('change', function() {
$('#actes .frame').removeClass('changed');
if (window.location.hash)
$(window.location.hash).css('box-shadow', 'none');
$(this).closest('.frame').addClass('changed');
});