Changeset 13872
- Timestamp:
- 07/03/2024 08:11:36 AM (5 weeks ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/js/editor.js
r13809 r13872 41 41 cacheTranslationHelpersForARow( nextEditor ); 42 42 } 43 44 if ( chatgpt_review_enabled && $gp_comment_feedback_settings.openai_key && $gp_editor_options.can_approve && ( 'waiting' === translation_status || 'fuzzy' === translation_status ) ) { 43 if ( ! $gp_comment_feedback_settings.openai_key || ! $gp_editor_options.can_approve || ( 'waiting' !== translation_status && 'fuzzy' !== translation_status ) ) { 44 tr.find( '.details-chatgpt' ).hide(); 45 } else if ( chatgpt_review_enabled ) { 45 46 fetchOpenAIReviewResponse( rowId, tr, false ); 46 } else {47 tr.find( '.details-chatgpt, .openai-review' ).hide();48 47 } 49 48 } ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/js/reject-feedback.js
r12656 r13872 40 40 return selectedRow.attr( 'row' ); 41 41 } 42 $( this ).prop( 'checked', false );43 42 return null; 44 43 },
Note: See TracChangeset
for help on using the changeset viewer.