1/** 2 * 2007-2025 PrestaShop. 3 * 4 * NOTICE OF LICENSE 5 * 6 * This source file is subject to the Open Software License (OSL 3.0) 7 * that is bundled with this package in the file LICENSE.txt. 8 * It is also available through the world-wide-web at this URL: 9 * https://opensource.org/licenses/OSL-3.0 10 * If you did not receive a copy of the license and are unable to 11 * obtain it through the world-wide-web, please send an email 12 * to [email protected] so we can send you a copy immediately. 13 * 14 * DISCLAIMER 15 * 16 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer 17 * versions in the future. If you wish to customize PrestaShop for your 18 * needs please refer to http://www.prestashop.com for more information. 19 * 20 * @author PrestaShop SA <[email protected]> 21 * @copyright 2007-2025 PrestaShop SA 22 * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) 23 * International Registered Trademark & Property of PrestaShop SA 24 */ 25/* Product Page validation Work Start */ 26$('.tmdinvite').on('submit', function(e) { 27 $('.getId').each(function(){ 28 id = this.value; 29 var required=$('.getrequired'+id).val(); 30 if (required==1) { 31 var lable=$('.getlables'+id).val(); 32 if($('input[class^="invitation-friends'+id+'"]:checked').length == 0) { 33 html=''; 34 $('.errors'+id).html('<span class="text-danger">'+lable+' Is Empty</span>'); 35 e.preventDefault(); 36 } else { 37 $('.errors'+id).html(''); 38 } 39 } 40 }); 41}); 42/* Product Page validation Work End */ 43 44/* Extra Pages validation Work Start */ 45$('.tmdinvite2').on('submit', function(e) { 46 $('.getId2').each(function(){ 47 id = this.value; 48 var required=$('.getrequired2'+id).val(); 49 if (required==1) { 50 var lable=$('.getlables2'+id).val(); 51 if($('input[class^="invitation-friends2'+id+'"]:checked').length == 0) { 52 html=''; 53 $('.errors2'+id).html('<span class="text-danger">'+lable+' Is Empty</span>'); 54 e.preventDefault(); 55 } else { 56 $('.errors2'+id).html(''); 57 } 58 } 59 }); 60}); 61/* Extra Pages validation Work End */
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.