# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- components/com_comprofiler/comprofiler.html.php +++ components/com_comprofiler/comprofiler.html.php @@ -764,7 +764,7 @@ // CLICK a table row: . "\n $('#cbUserTable > tbody > tr').click( function(e) {" // If it's not a link within the row which is getting clicked: - . "\n if ( ! ( $(e.target).is('a') || ( $(e.target).is('img') && $(e.target).parent().is('a') ) || $(e.target).hasClass('cbClicksInside') || ( $(e.target).parents('.cbClicksInside').length > 0 ) ) ) {" + . "\n if ( ! ( ( $(this).attr('id') == '' ) || $(e.target).is('a') || ( $(e.target).is('img') && $(e.target).parent().is('a') ) || $(e.target).hasClass('cbClicksInside') || ( $(e.target).parents('.cbClicksInside').length > 0 ) ) ) {" // Get the href of the user profile link (if profile links are allowed): . ( ( $ueConfig['allow_profilelink'] == 1 ) ? "\n window.location = cbUserURLs[this.id.substr(3)];" : '' ) // And avoid the link being followed: