Changeset 2309610
- Timestamp:
- 05/21/2020 04:31:46 PM (5 years ago)
- Location:
- froged
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
froged/trunk/froged-conf.php
r2264972 r2309610 4 4 Plugin URI: https://app.froged.com/?utm_source=wordpress_plugin 5 5 Description: Froged. Live Chat, Email Campaigns, Lead Generation, and much more. 6 Version: 1.0. 36 Version: 1.0.4 7 7 Requires at least: 3.0 8 8 Tested up to: 5.4 -
froged/trunk/js/contactform.js
r2213112 r2309610 1 1 document.addEventListener( 'wpcf7mailsent', function( event ) { 2 2 var inputs = document.getElementsByTagName('input'); 3 var email = ""; 4 for ( var i = 0; i < inputs.length; i++ ) { 5 if (inputs[i].type.toLowerCase() == 'email' && inputs[i].value!="") { 6 email = inputs[i].value; 7 } 8 } 9 if (email != '') 10 Froged('set',{email:email}); 3 var email = ""; 4 var name = ""; 5 for ( var i = 0; i < inputs.length; i++ ) { 6 if (inputs[i].type.toLowerCase() == 'email' && inputs[i].value!="") { 7 email = inputs[i].value; 8 } 9 if (inputs[i].name.toLowerCase() == 'your-name' && inputs[i].value!="") { 10 name = inputs[i].value; 11 } 12 } 13 if (email != '') 14 Froged('set',{email:email}); 15 if (name != '') 16 Froged('set',{name:name}); 11 17 }, false ); -
froged/trunk/readme.txt
r2264972 r2309610 4 4 Requires at least: 3.0 5 5 Tested up to: 5.4 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 110 110 * Performance improvements 111 111 112 = 1.0.4 = 113 114 * Performance improvements
Note: See TracChangeset
for help on using the changeset viewer.