Tablename-dv.js
Posted: 2023-10-06 00:41
Hi,
I have for many year used the following code in the tablename-dv.js in the hooks folder to add separators after some fields in my details view:
Has anyone else encountered this behavior?
Thanks
I have for many year used the following code in the tablename-dv.js in the hooks folder to add separators after some fields in my details view:
I now need to change the position of some of the separators because I added some fields, but any changes I make are not reflected. If I, however, delete (or rename) the file, all separators disappear (as expected). Even if I comment all lines in the file the separators remain. Strange behavior — at least to me.$j(‘#Field1’).parents(‘.form-group’).after(‘<hr><hr>’);
$j(‘#Field2’).parents(‘.form-group’).after(‘<hr><hr>’);
$j(‘#Field3’).parents(‘.form-group’).after(‘<hr><hr>’);
$j(‘#Field4’).parents(‘.form-group’).after(‘<hr><hr>’);
Has anyone else encountered this behavior?
Thanks