mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
PHRAS-3823 : add permalink in report GUI (#4291)
This commit is contained in:
@@ -65,6 +65,10 @@ $(document).ready(function () {
|
||||
form = $this.closest('form');
|
||||
$(".collist", form).hide();
|
||||
$(".collist-" + value, form).show();
|
||||
|
||||
// subdef list depends on selected databox
|
||||
$(".subdeflist", form).hide();
|
||||
$(".subdeflist-" + value, form).show();
|
||||
});
|
||||
|
||||
$('.collist').each(function() {
|
||||
@@ -76,6 +80,15 @@ $(document).ready(function () {
|
||||
$(".collist-" + i, form).show();
|
||||
});
|
||||
|
||||
$('.subdeflist').each(function() {
|
||||
var $this = $(this),
|
||||
form = $this.closest('form'),
|
||||
i = $this.closest('form').find('.sbas_select').val()
|
||||
;
|
||||
$this.hide();
|
||||
$(".subdeflist-" + i, form).show();
|
||||
});
|
||||
|
||||
$('.form2').each(function() {
|
||||
if ($(this).html().trim() === '')
|
||||
$(this).hide();
|
||||
|
Reference in New Issue
Block a user