Changeset 3441943
- Timestamp:
- 01/18/2026 02:15:03 PM (2 months ago)
- Location:
- talkgenai/trunk
- Files:
-
- 3 edited
-
admin/js/article-job-integration.js (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
-
talkgenai.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
talkgenai/trunk/admin/js/article-job-integration.js
r3437036 r3441943 102 102 generateArticle: async function() { 103 103 try { 104 // Guard against double-submit (click + form submit, or rapid multi-click) 105 const $btn = $('#generate-article-btn'); 106 if ($btn.prop('disabled') || $btn.data('tgaiBusy')) { 107 return; 108 } 109 $btn.data('tgaiBusy', true); 110 104 111 // Get app ID from the select dropdown 105 112 const appId = $('#target_app').val() || $('select[name="app_id"]').val(); … … 107 114 if (!appId) { 108 115 alert('Please select an app to generate an article for!'); 116 $btn.data('tgaiBusy', false); 109 117 return; 110 118 } … … 247 255 248 256 // Re-enable button 249 $('#generate-article-btn').prop('disabled', false) ;257 $('#generate-article-btn').prop('disabled', false).data('tgaiBusy', false); 250 258 251 259 // Success message … … 301 309 302 310 // Re-enable button 303 $('#generate-article-btn').prop('disabled', false) ;311 $('#generate-article-btn').prop('disabled', false).data('tgaiBusy', false); 304 312 } 305 313 }); … … 314 322 315 323 this.showNotification('Error: ' + error.message, 'error'); 316 $('#generate-article-btn').prop('disabled', false) ;324 $('#generate-article-btn').prop('disabled', false).data('tgaiBusy', false); 317 325 } 318 326 }, … … 629 637 $(document).off('submit', '#talkgenai-articles-form'); 630 638 $(document).off('click', '#generate-article-btn'); 639 // IMPORTANT: admin.js binds submit handler directly on the form (not delegated), 640 // so we must also unbind directly from the elements to avoid duplicate requests. 641 $('#talkgenai-articles-form').off('submit'); 642 $('#generate-article-btn').off('click'); 631 643 632 644 // Bind a global event so article appears immediately when job completes -
talkgenai/trunk/readme.txt
r3437036 r3441943 1 === TalkGenAI – AI App Builder: Calculator, Timer, Todo List, ROI Tool & Custom Widgets ===1 === Calculator Builder by TalkGenAI – Cost, Mortgage, ROI, BMI & Forms === 2 2 Contributors: talkgenai 3 Tags: calculator, timer, widget, ai, no-code3 Tags: calculator, cost calculator, loan calculator, mortgage calculator, ai 4 4 Requires at least: 5.0 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 2.4. 27 Stable tag: 2.4.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Instantly generate functional Calculators (Mortgage, ROI, BMI), Countdown Timers, and Smart To-Do Lists using AI. No coding required.11 The ultimate Calculator Builder. Create Mortgage, ROI, Cost, Quote & BMI Calculators in seconds with AI. Also builds Timers & Forms. 12 12 13 13 == Description == … … 181 181 182 182 == Changelog == 183 184 = 2.4.3 - 2026-01-18 = 185 * 🚀 **SEO Optimization**: Updated plugin title, description and tags to improve discoverability for Calculator related searches. 186 * 📦 **Optimization**: Metadata refresh for better repository ranking. 183 187 184 188 = 2.4.2 - 2026-01-11 = -
talkgenai/trunk/talkgenai.php
r3437036 r3441943 1 1 <?php 2 2 /** 3 * Plugin Name: TalkGenAI – AI App Builder: Calculator, Timer, Todo List, ROI Tool & Custom Widgets3 * Plugin Name: Calculator Builder by TalkGenAI – Cost, Mortgage, ROI, BMI & Forms 4 4 * Plugin URI: https://app.talkgen.ai 5 * Description: Generate complete web applications using AI. Connect to TalkGenAI server for intelligent app generation with WordPress integration.6 * Version: 2.4. 25 * Description: The ultimate Calculator Builder. Create Mortgage, ROI, Cost, Quote & BMI Calculators in seconds with AI. Also builds Timers & Forms. 6 * Version: 2.4.3 7 7 * Author: TalkGenAI Team 8 8 * License: GPLv2 or later … … 56 56 57 57 // Define plugin constants 58 define('TALKGENAI_VERSION', '2.4. 2');58 define('TALKGENAI_VERSION', '2.4.3'); 59 59 define('TALKGENAI_PLUGIN_URL', plugin_dir_url(__FILE__)); 60 60 define('TALKGENAI_PLUGIN_PATH', plugin_dir_path(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.