feat: Add console logging for projects and users in task management
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user