Cleanup: remove debug console.log from preview module
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1364,7 +1364,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 || {};
|
||||
|
||||
@@ -1375,7 +1374,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');
|
||||
@@ -1397,11 +1395,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>';
|
||||
|
||||
Reference in New Issue
Block a user