feat: Add console logging for projects and users in task management

This commit is contained in:
2025-08-07 00:44:19 +02:00
parent 4e5880801b
commit 24696a267d

View File

@@ -772,7 +772,7 @@
var users = $( this ).find( 'option:selected' ).attr( 'users' );
if ( projects )
{
var projects = projects.split( "," );
var projects = projects.split( "," ); console.log( projects );
// toggle checkboxes and prevent load ajax twice
$( '.projects_container input[name="projects"].g-checkbox' ).each( function() {
if ( $.inArray( $( this ).val(), projects ) !== -1 )
@@ -781,7 +781,7 @@
$( this ).removeAttr( 'checked' );
});
var users = users.split( "," );
var users = users.split( "," ); console.log( users );
// toggle checkboxes and prevent load ajax twice
$( '.projects_container input[name="users"].g-checkbox' ).each( function() {
if ( $.inArray( $( this ).val(), users ) !== -1 )