Cleanup: remove debug console.log from preview module

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-31 23:00:35 +01:00
parent 603be61f71
commit 334e62e157
3 changed files with 1 additions and 11 deletions

View File

@@ -8975,7 +8975,6 @@
* Displays a summary of all entity types with their counts
*/
showTotalPreviewPopover: function($badge) {
console.log('[EntitySelector] showTotalPreviewPopover called', { badge: $badge[0] });
var self = this;
var trans = this.config.trans || {};
@@ -8986,7 +8985,6 @@
// Collect all entity types with data
var summaryItems = [];
console.log('[EntitySelector] Looking for tabs with data...');
this.$wrapper.find('.target-block-tab.has-data').each(function() {
var $tab = $(this);
var blockType = $tab.data('blockType');
@@ -9008,11 +9006,8 @@
}
});
console.log('[EntitySelector] Summary items collected:', summaryItems);
// Build popover HTML
var totalCount = parseInt($badge.find('.count-value').text(), 10) || 0;
console.log('[EntitySelector] Building popover, totalCount:', totalCount);
var popoverHtml = '<div class="target-preview-popover total-preview-popover">';
popoverHtml += '<div class="preview-popover-header">';
popoverHtml += '<span class="preview-popover-title">' + (trans.total_summary || 'Selection Summary') + '</span>';

File diff suppressed because one or more lines are too long