PageSourceSearch

https://www.bildhau.de/modules/sjcaptcha/views/js/front-additional.js?v=d446238b

js bildhau.de collected 2026-10-02 21:34:57 UTC 2,885 bytes, 63 lines download raw bytes

1/**
2* 2007-2019 PrestaShop
3*
4* NOTICE OF LICENSE
5*
6* This source file is subject to the Academic Free License (AFL 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* http://opensource.org/licenses/afl-3.0.php
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-2019 PrestaShop SA
22*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
23*  International Registered Trademark & Property of PrestaShop SA
24*
25* Don't forget to prefix your containers with your own identifier
26* to avoid any conflicts with others containers.
27*/
28
29/**
30* WICHTIGER HINWEIS: DIESE DATEI NICHT INS THEME ÜBERNEHMEN -> ALSO ÜBERSCHREIBEN.
31*
32* HIER WERDEN NUR WICHTIGE ÄNDERUNGEN ÜBERNOMMEN DIE GEWÄHRLEISTEN DAS DIE FUNKTIONALITÄT DES CAPTCHAS GEGEBEN IST!!!
33*
34* NICHT ÜBERSCHREIBEN DAMIT BEI NÖTIGEN ÄNDERUNGEN PER UPDATE DIESE EINGESPIELT WERDEN KÖNNEN UND SOFORT GREIFEN!!!
35*/
36
37jQuery(document).ready(function($) {
38    // Funktion zum Setzen des Cookies
39    function setSelectedTabCookie(type) {
40        if (type) {
41            document.cookie = "selected_tab=" + type + "; path=/";
42        }
43    }
44
45    // 1. Initial ausgewählten Radiobutton ermitteln
46    var initialSelected = $('#checkout .ets_onepagecheckout_box input[name="type-checkout-options"]:checked, #checkout #form_ets_onepagecheckout input[name="type-checkout-options"]:checked').data('type');
47    setSelectedTabCookie(initialSelected);
48
49    // 2. Bei Änderung eines Radiobuttons Cookie neu setzen
50    /*$('#checkout .ets_onepagecheckout_box input[name="type-checkout-options"], #checkout #form_ets_onepagecheckout input[name="type-checkout-options"]').on('change', function() {
51        var selectedType = $(this).data('type');
52        setSelectedTabCookie(selectedType);
53    });*/
54    /*$(document).on('click', '#checkout .ets_onepagecheckout_box input[name="type-checkout-options"], #checkout #form_ets_onepagecheckout input[name="type-checkout-options"]', function() {
55        var selectedType = $(this).data('type');
56        setSelectedTabCookie(selectedType);
57    });*/
58
59    $(document).on('change', '#checkout .ets_onepagecheckout_box input[name="type-checkout-options"], #checkout #form_ets_onepagecheckout input[name="type-checkout-options"]', function() {
60        var selectedType = $(this).data('type');
61        setSelectedTabCookie(selectedType);
62    });
63});

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.