mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
N°2844 - Fix image attribute display and editing
This commit is contained in:
@@ -343,7 +343,7 @@ JS
|
||||
// Make image attributes zoomable
|
||||
$this->add_ready_script(
|
||||
<<<JS
|
||||
$('.view-image img').each(function(){
|
||||
$('.ibo-input-image--image-view img').each(function(){
|
||||
$(this).attr('href', $(this).attr('src'))
|
||||
})
|
||||
.magnificPopup({type: 'image', closeOnContentClick: true });
|
||||
|
||||
Reference in New Issue
Block a user