Plugin Directory

Changeset 2361750


Ignore:
Timestamp:
08/15/2020 08:47:10 AM (6 years ago)
Author:
anfrageformular
Message:

Update 1.0.1 and Updating readme.txt

Location:
anfrageformular/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • anfrageformular/trunk/Anfrageformular.php

    r2359775 r2361750  
    66  Author URI: https://anfrageformular.com/
    77  Author E-Mail: support@anfrageformular.com
    8   Version: 1.0
     8  Version: 1.0.1
    99 */
    1010
  • anfrageformular/trunk/readme.txt

    r2359775 r2361750  
    11=== Anfrageformular – Multi Step Drag & Drop Formular Builder – Leadgenerierung ===
    22Contributors: Anfrageformular
    3 Tags: contact form, kontaktformular, multi step form, form, leadgenerierung, lead generation
     3Tags: contact form, multi step form, form, formular, leadgenerierung, lead generation, kontaktformular, anfrageformular, configurator, konfigurator, drag & drop
    44Requires at least: 5.0
    55Tested up to: 5.5
    66Requires PHP: 5.6
    7 Stable tag: 1.0
     7Stable tag: 1.0.1
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1515Vergiss deine Probleme mit WordPress Formularen und Websites, die keine Ergebnisse bringen - mach deine Website mit unserem Anfrageformular Plugin für WordPress zu einer Neukundenmaschine, die nachweislich deine Umsätze steigert!
    1616
     17https://www.youtube.com/watch?v=DZCk9mcm6QY
     18
    1719- **Einfach**
    1820Erstelle mit wenigen Klicks hochwertige Formulare per Drag & Drop, ohne eine Zeile Code anzufassen.
     21
    1922
    2023- **Intuitiv**
    2124Führe deine Website Besucher intuitiv durch einen verkaufsstarken Prozess, der mehr Leads für dich generiert.
    2225
     26
    2327- **Logik**
    2428Wenn A - dann B. Baue Fragen und Antworten aufeinander auf und verknüpfe diese um deinen Besucher zum Ziel zu führen.
     29
    2530
    2631- **100% Responsive**
    2732Das Anfrageformular sieht auf jedem Gerät genial aus, nie wieder Kunden verlieren durch nicht optimierte Formulare.
    2833
    29 https://www.youtube.com/watch?v=DZCk9mcm6QY
     34- **Verkaufspsychologie**
     35Die Formulare sind so aufgebaut, dass deine Besucher diese intuitiv und selbsterklärend ausfüllen.
     36
     37- **DSGVO-konform**
     38Wir arbeiten und programmieren nach den aktuellsten Gesetzen der Europäischen Union und sind 100% DSGVO-konform.
     39
    3040
    3141Der Besucher kann sich interaktiv durch von dir individuell erstellte Schritte klicken und wird so animiert Kontakt aufzunehmen oder dein Produkt zu kaufen. Websitebesucher sind heute fauler als je zuvor, die wenigsten haben noch Lust irgendwo Texteingaben zu machen und würden am liebsten nur noch einen Klick zum Ziel machen.
    3242Genau dort setzen wir an und holen den Besucher mit einem interaktiven Formular ab was nicht nur Spaß macht auszufüllen, sondern auch noch voll responsive ist und auf jedem Gerät gut funktioniert.
    3343
     44= Einfache Multi-Step Formulare =
     45
     46Ein WordPress Kontaktformular muss nicht langweilig sein - mit dem Anfrageformular erstellst du ganz einfach innerhalb von 2 Minuten ein Multi-Step Formular mit einem einzigartigen Formularbuilder - ganz ohne eine Zeile Code anzufassen! Probiere es direkt aus!
     47
     48
    3449== Features: ==
    3550- Drag & Drop Formularbuilder
    36 - Logische Verknüpfung von Fragen
    37 - Tracking für Google Ads & Facebook Ads
    38 - Individuelle anpassbares Design & Farben
    39 - Mobile Optimierung
    40 - Autoresponder
    41 - Demo Import
     51- unbegrenzt Fragen & Forms
     52- 2 Fragetypen
     53- bis zu 5 Formularsteps
     54- 1 Demo Vorlage
     55- Regelmäßige Updates
     56- Facebook Gruppe
     57- Help Center
    4258 
    4359Sieh dir auch unsere [Premium Version](https://anfrageformular.com/) für noch mehr Features an!
     
    7894
    7995== Screenshots ==
    80 1. **Formularbuilder**
    81 2. **Fragenbuilder**
    82 3. **Lead Übersicht**
    83 4. **Kontaktformularbuilder**
    84 5. **Formularvorschau**
     961. **Formularbuilder.**
     972. **Fragenbuilder.**
     983. **Leads.**
     994. **Kontaktformularbuilder.**
     1005. **Formularvorschau.**
    85101
    86102== Changelog ==
    87103
    88 = 1.0 - 13. August 2020 =
     104= 1.0 - 10. August 2020 =
    89105* Initial Public Beta Release
     106
     107= 1.0.1 - 14. August 2020 =
     108* Fix: Formbuilder color picker conflict with Slider Revolution
  • anfrageformular/trunk/res/scripts/af2_builder.js

    r2359775 r2361750  
    675675        try
    676676        {
    677             $(colorPicker).each((i, el) => {
    678                 $(colorPicker[i]).off('change');
     677            $(af2_colorPicker).each((i, el) => {
     678                $(af2_colorPicker[i]).off('change');
    679679            }).promise().done(() => {
    680                 colorPicker = [];
     680                af2_colorPicker = [];
    681681                $('.colorpicker').each((i, el) => {
    682682                    $(el).remove();
     
    690690                        });
    691691
    692                         colorPicker.push(safe);
    693 
    694                         colorPicker[colorPicker.length-1].on('change', (ev) => {
     692                        af2_colorPicker.push(safe);
     693
     694                        af2_colorPicker[af2_colorPicker.length-1].on('change', (ev) => {
    695695                            af2_color_change_validate(ev.rgba, id);
    696696                            $($('#'+id)[0]).css('background-color', ev.rgba);
  • anfrageformular/trunk/res/scripts/af2_formularbuilder_m.js

    r2359775 r2361750  
    771771        if(insert === true)
    772772        {
    773             let exists = false;
     773            let af2_exists = false;
    774774            let place = conns.connections.length;
    775775            let old_to_section = undefined;
     
    797797                if(el.from.toString() === connector.toString())
    798798                {
    799                     exists = true;
     799                    af2_exists = true;
    800800                    place = i;
    801801
     
    805805            }).promise().done(() => {
    806806
    807                 if(exists === true)
     807                if(af2_exists === true)
    808808                {
    809809                    af2_jsonobj.sections[sectionfrom].contents[containerfrom].connections[place].to_section = section;
  • anfrageformular/trunk/res/scripts/af2_formularbuilder_v.js

    r2359775 r2361750  
    11let drag_element = undefined;
    2 let exists = false;
    3 let colorPicker = [];
    4 
    5 let gotContent = undefined;
    6 let gotContent1 = undefined;
    7 
    8 let first_dragged = false;
    9 
    10 let req_dat = undefined;
    11 
    12 let forms = [];                                                                                                         // All Forms
    13 let datas = [];                                                                                                         // All Data contents
     2let af2_exists = false;
     3let af2_colorPicker = [];
     4
     5let af2_gotContent = undefined;
     6let af2_gotContent1 = undefined;
     7
     8let af2_first_dragged = false;
     9
     10let af2_req_dat = undefined;
     11
     12let af2_forms = [];                                                                                                         // All Forms
     13let af2_datas = [];                                                                                                         // All Data contents
    1414let af2Styles = {};
    1515$ = jQuery;
     
    272272        window.addEventListener("mousemove", handleMousemove, false);
    273273
    274         first_dragged = true;
     274        af2_first_dragged = true;
    275275
    276276        if (!($(drag_element).hasClass('af2_connector')))
     
    357357                        {
    358358                            $(el).remove();
    359                             exists = true;
     359                            af2_exists = true;
    360360                        }
    361361                    }
     
    469469
    470470
    471             if (exists === true)
     471            if (af2_exists === true)
    472472            {
    473473                let parent = $($($(drag_element).parent()).parent());
     
    497497        }
    498498
    499         exists = false;
     499        af2_exists = false;
    500500        drag_element = undefined;
    501501
     
    645645
    646646
    647         exists = false;
     647        af2_exists = false;
    648648        drag_element = undefined;
    649649
     
    825825        $($(section_selector + ' #af2_form_section_content_' + i)[0]).attr('data-contentid', contentid);
    826826        $.when(af2_generate_section_content(i, pos, 1)).done(() => {
    827             $(section_selector + ' #af2_form_section_content_' + i).html(gotContent1[0]);
    828 
    829             if (gotContent1[1] !== undefined)
    830             {
    831                 $(section_selector + ' #af2_form_section_content_' + i + ' #inline_got').append(gotContent1[1]);
    832 
    833                 if (gotContent1[2] !== undefined)
    834                 {
    835                     $(section_selector + ' #af2_form_section_content_' + i).append(gotContent1[2]);
     827            $(section_selector + ' #af2_form_section_content_' + i).html(af2_gotContent1[0]);
     828
     829            if (af2_gotContent1[1] !== undefined)
     830            {
     831                $(section_selector + ' #af2_form_section_content_' + i + ' #inline_got').append(af2_gotContent1[1]);
     832
     833                if (af2_gotContent1[2] !== undefined)
     834                {
     835                    $(section_selector + ' #af2_form_section_content_' + i).append(af2_gotContent1[2]);
    836836                }
    837837            }
     
    844844
    845845        $.when(af2_generate_section_content(i, pos, 0)).done(() => {
    846             $(section_selector + ' #af2_form_section_content_' + i).html(gotContent[0]);
    847 
    848             if (gotContent[1] !== undefined)
    849             {
    850                 $(section_selector + ' #af2_form_section_content_' + i + ' #inline_got').append(gotContent[1]);
    851 
    852                 if (gotContent[2] !== undefined)
    853                 {
    854                     $(section_selector + ' #af2_form_section_content_' + i).append(gotContent[2]);
     846            $(section_selector + ' #af2_form_section_content_' + i).html(af2_gotContent[0]);
     847
     848            if (af2_gotContent[1] !== undefined)
     849            {
     850                $(section_selector + ' #af2_form_section_content_' + i + ' #inline_got').append(af2_gotContent[1]);
     851
     852                if (af2_gotContent[2] !== undefined)
     853                {
     854                    $(section_selector + ' #af2_form_section_content_' + i).append(af2_gotContent[2]);
    855855                }
    856856            }
     
    10191019        if (got === 0)
    10201020        {
    1021             gotContent = [content];
     1021            af2_gotContent = [content];
    10221022        } else
    10231023        {
    1024             gotContent1 = [content];
     1024            af2_gotContent1 = [content];
    10251025        }
    10261026        return null;
     
    11751175
    11761176                                            if (got === 0) {
    1177                                                 gotContent = [content];
     1177                                                af2_gotContent = [content];
    11781178                                            } else {
    1179                                                 gotContent1 = [content];
     1179                                                af2_gotContent1 = [content];
    11801180                                            }
    11811181                                            return null;
     
    12081208
    12091209            if (got === 0) {
    1210                 gotContent = [content];
     1210                af2_gotContent = [content];
    12111211            } else {
    1212                 gotContent1 = [content];
     1212                af2_gotContent1 = [content];
    12131213            }
    12141214            return null;
     
    13201320
    13211321                                    if (got === 0) {
    1322                                         gotContent = [content];
     1322                                        af2_gotContent = [content];
    13231323                                    } else {
    1324                                         gotContent1 = [content];
     1324                                        af2_gotContent1 = [content];
    13251325                                    }
    13261326                                    return null;
     
    13421342
    13431343            if (got === 0) {
    1344                 gotContent = [content];
     1344                af2_gotContent = [content];
    13451345            } else {
    1346                 gotContent1 = [content];
     1346                af2_gotContent1 = [content];
    13471347            }
    13481348            return null;
     
    14921492                                                content += '</div>';
    14931493                                                if (got === 0) {
    1494                                                     gotContent = [content];
     1494                                                    af2_gotContent = [content];
    14951495                                                } else {
    1496                                                     gotContent1 = [content];
     1496                                                    af2_gotContent1 = [content];
    14971497                                                }
    14981498                                                return null;
     
    15111511            if (got === 0)
    15121512            {
    1513                 gotContent = [content];
     1513                af2_gotContent = [content];
    15141514            } else
    15151515            {
    1516                 gotContent1 = [content];
     1516                af2_gotContent1 = [content];
    15171517            }
    15181518            return null;
     
    15491549                    if (got === 0)
    15501550                    {
    1551                         gotContent = [cont, ccont, cont3];
     1551                        af2_gotContent = [cont, ccont, cont3];
    15521552                    } else
    15531553                    {
    1554                         gotContent1 = [cont, ccont, cont3];
     1554                        af2_gotContent1 = [cont, ccont, cont3];
    15551555                    }
    15561556                    return null;
     
    15601560                if (got === 0)
    15611561                {
    1562                     gotContent = ['<h4 style="color: red">ERROR</h4>'];
     1562                    af2_gotContent = ['<h4 style="color: red">ERROR</h4>'];
    15631563                } else
    15641564                {
    1565                     gotContent1 = ['<h4 style="color: red">ERROR</h4>'];
     1565                    af2_gotContent1 = ['<h4 style="color: red">ERROR</h4>'];
    15661566                }
    15671567                return null;
     
    16261626            if (got === 0)
    16271627            {
    1628                 gotContent = [content];
     1628                af2_gotContent = [content];
    16291629            } else
    16301630            {
    1631                 gotContent1 = [content];
     1631                af2_gotContent1 = [content];
    16321632            }
    16331633            return null;
     
    21642164
    21652165    /** FILL VARIABLES WE NEED **/
    2166     forms = [];                                                                                                         // All Forms
    2167     datas = [];                                                                                                         // All Data contents
     2166    af2_forms = [];                                                                                                         // All Forms
     2167    af2_datas = [];                                                                                                         // All Data contents
    21682168    af2Styles = // The basic styling
    21692169            {
     
    29862986        const size = $(el).data('size');
    29872987
    2988         forms[num] = new Form($, id, num, preload, size);
     2988        af2_forms[num] = new Form($, id, num, preload, size);
    29892989    });
    29902990
     
    30423042
    30433043    /** Load the Form's Content **/
    3044     if (datas[id] === undefined) // When Dataid is not already set
    3045     {
    3046         datas[id] = true;
     3044    if (af2_datas[id] === undefined) // When Dataid is not already set
     3045    {
     3046        af2_datas[id] = true;
    30473047
    30483048        af2HandleRequest($, this.formSelector, '.af2_form_wrapper', [this.id]);
     
    30553055        const prom = $.Deferred();
    30563056
    3057         this.neededContent = datas[this.id].sections[this.actualSection].contents[this.actualContent].data;
     3057        this.neededContent = af2_datas[this.id].sections[this.actualSection].contents[this.actualContent].data;
    30583058        /** Check the redirect **/
    30593059        if (this.neededContent.includes('redirect'))
     
    30693069                }
    30703070            });
    3071             if (datas[this.neededContent] !== undefined && datas[this.neededContent] !== true)
     3071            if (af2_datas[this.neededContent] !== undefined && af2_datas[this.neededContent] !== true)
    30723072            {
    30733073                this.initDraw();
     
    30893089        this.setTriggers();
    30903090
    3091         if (datas[this.actualData].typ !== undefined &&
    3092                 (datas[this.actualData].typ === 'af2_slider' || datas[this.actualData].typ === 'af2_content'))
     3091        if (af2_datas[this.actualData].typ !== undefined &&
     3092                (af2_datas[this.actualData].typ === 'af2_slider' || af2_datas[this.actualData].typ === 'af2_content'))
    30933093        {
    30943094            $(this.formSelector + ' .af2_form_foward_button').removeClass('af2_disabled');
     
    31003100        $(this.formSelector + ' .af2_form_bottombar').css('opacity', 1);
    31013101
    3102         if (datas[this.actualData].typ === 'af2_content')
    3103         {
    3104             if (datas[this.actualData].type_specifics.content_button == true)
     3102        if (af2_datas[this.actualData].typ === 'af2_content')
     3103        {
     3104            if (af2_datas[this.actualData].type_specifics.content_button == true)
    31053105            {
    31063106
     
    31083108
    31093109            }
    3110             if (datas[this.actualData].type_specifics.content_wait_time !== undefined && $.isNumeric(datas[this.actualData].type_specifics.content_wait_time))
     3110            if (af2_datas[this.actualData].type_specifics.content_wait_time !== undefined && $.isNumeric(af2_datas[this.actualData].type_specifics.content_wait_time))
    31113111            {
    31123112                //blend out everything
    3113                 if (datas[this.actualData].type_specifics.content_button == true)
     3113                if (af2_datas[this.actualData].type_specifics.content_button == true)
    31143114                {
    31153115                    $(this.formSelector + ' .af2_submit_wrapper input.af2_submit_button.no_send').css('opacity', 0);
     
    31223122                //timer
    31233123                setTimeout(() => {
    3124                     if (datas[this.actualData].type_specifics.content_button == true)
     3124                    if (af2_datas[this.actualData].type_specifics.content_button == true)
    31253125                    {
    31263126                        $(this.formSelector + ' .af2_submit_wrapper input.af2_submit_button.no_send').css('opacity', 1);
     
    31303130                    }
    31313131                    this.af2Move("", 'next');
    3132                 }, datas[this.actualData].type_specifics.content_wait_time);
     3132                }, af2_datas[this.actualData].type_specifics.content_wait_time);
    31333133            }
    31343134        }
     
    31453145
    31463146        /** Check neededContent first **/
    3147         if (datas[this.neededContent] === undefined)
     3147        if (af2_datas[this.neededContent] === undefined)
    31483148        {
    31493149            dataIds.push(this.neededContent);
    3150             datas[this.neededContent] = true;
    3151         }
    3152 
    3153         if (datas[this.id].sections[this.actualSection].contents[this.actualContent].connections !== undefined)
     3150            af2_datas[this.neededContent] = true;
     3151        }
     3152
     3153        if (af2_datas[this.id].sections[this.actualSection].contents[this.actualContent].connections !== undefined)
    31543154        {
    31553155            /** Iterate the first part **/
    3156             $(datas[this.id].sections[this.actualSection].contents[this.actualContent].connections).each((i, el) => {
     3156            $(af2_datas[this.id].sections[this.actualSection].contents[this.actualContent].connections).each((i, el) => {
    31573157                const toSection = el.to_section;
    31583158                const toContent = el.to_content;
    31593159
    31603160                /** Check the Data **/
    3161                 if (datas[el.to_dataid] === undefined && !el.to_dataid.includes('redirect'))
     3161                if (af2_datas[el.to_dataid] === undefined && !el.to_dataid.includes('redirect'))
    31623162                {
    31633163                    dataIds.push(el.to_dataid);
    3164                     datas[el.to_dataid] = true;
    3165 
    3166                     if (datas[this.id].sections[toSection].contents[toContent].connections !== undefined)
     3164                    af2_datas[el.to_dataid] = true;
     3165
     3166                    if (af2_datas[this.id].sections[toSection].contents[toContent].connections !== undefined)
    31673167                    {
    3168                         $.each(datas[this.id].sections[toSection].contents[toContent].connections, (j, e) => {
     3168                        $.each(af2_datas[this.id].sections[toSection].contents[toContent].connections, (j, e) => {
    31693169
    31703170                            /** Check the Data **/
    3171                             if (datas[e.to_dataid] === undefined && !e.to_dataid.includes('redirect')) {
     3171                            if (af2_datas[e.to_dataid] === undefined && !e.to_dataid.includes('redirect')) {
    31723172                                dataIds.push(e.to_dataid);
    3173                                 datas[e.to_dataid] = true;
     3173                                af2_datas[e.to_dataid] = true;
    31743174                            }
    31753175                        });
     
    31783178
    31793179
    3180                 if (i === datas[this.id].sections[this.actualSection].contents[this.actualContent].connections.length - 1)
     3180                if (i === af2_datas[this.id].sections[this.actualSection].contents[this.actualContent].connections.length - 1)
    31813181                {
    31823182                    prom.resolve(dataIds);
     
    31983198                if (!$(this.formSelector + ' .af2_form_foward_button').hasClass('af2_disabled'))
    31993199                {
    3200                     if (datas[this.actualData].typ === 'af2_multiselect')
     3200                    if (af2_datas[this.actualData].typ === 'af2_multiselect')
    32013201                    {
    32023202                        let arr = [];
     
    32063206                            this.af2Move(arr, 'next');
    32073207                        });
    3208                     } else if (datas[this.actualData].typ === 'af2_textfeld')
     3208                    } else if (af2_datas[this.actualData].typ === 'af2_textfeld')
    32093209                    {
    32103210                        this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textfeld_frage').val(), 'next');
    3211                     } else if (datas[this.actualData].typ === 'af2_datum')
     3211                    } else if (af2_datas[this.actualData].typ === 'af2_datum')
    32123212                    {
    32133213                        this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_datum_frage').val(), 'next');
     
    32273227
    32283228        this.$(document).on('click', this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_answer_', (ev) => {
    3229             if (datas[this.actualData].typ === 'af2_multiselect')
     3229            if (af2_datas[this.actualData].typ === 'af2_multiselect')
    32303230            {
    32313231                $(ev.currentTarget).toggleClass('selected_item');
     
    32363236                    $(this.formSelector + ' .af2_form_foward_button').removeClass('af2_disabled');
    32373237
    3238                     const cond = datas[this.actualData].type_specifics.condition;
     3238                    const cond = af2_datas[this.actualData].type_specifics.condition;
    32393239                    if (cond !== undefined && cond !== '' && $.isNumeric(cond) && cond > 1)
    32403240                    {
     
    33063306            if (!$(ev.currentTarget).hasClass('af2_disabled'))
    33073307            {
    3308                 if (datas[this.actualData].typ === 'af2_multiselect')
     3308                if (af2_datas[this.actualData].typ === 'af2_multiselect')
    33093309                {
    33103310                    let arr = [];
     
    33143314                        this.af2Move(arr, 'next');
    33153315                    });
    3316                 } else if (datas[this.actualData].typ === 'af2_textfeld')
     3316                } else if (af2_datas[this.actualData].typ === 'af2_textfeld')
    33173317                {
    33183318                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textfeld_frage').val(), 'next');
    3319                 } else if (datas[this.actualData].typ === 'af2_textbereich')
     3319                } else if (af2_datas[this.actualData].typ === 'af2_textbereich')
    33203320                {
    33213321                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textbereich_frage').val(), 'next');
    3322                 } else if (datas[this.actualData].typ === 'af2_datum')
     3322                } else if (af2_datas[this.actualData].typ === 'af2_datum')
    33233323                {
    33243324                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_datum_frage').val(), 'next');
    3325                 } else if (datas[this.actualData].typ === 'af2_slider')
     3325                } else if (af2_datas[this.actualData].typ === 'af2_slider')
    33263326                {
    33273327                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_slider_frage').val(), 'next');
    3328                 } else if (datas[this.actualData].typ === 'af2_content')
     3328                } else if (af2_datas[this.actualData].typ === 'af2_content')
    33293329                {
    33303330                    this.af2Move("", 'next');
     
    33353335            if (!$(ev.currentTarget).hasClass('af2_disabled'))
    33363336            {
    3337                 if (datas[this.actualData].typ === 'af2_multiselect')
     3337                if (af2_datas[this.actualData].typ === 'af2_multiselect')
    33383338                {
    33393339                    let arr = [];
     
    33433343                        this.af2Move(arr, 'next');
    33443344                    });
    3345                 } else if (datas[this.actualData].typ === 'af2_textfeld')
     3345                } else if (af2_datas[this.actualData].typ === 'af2_textfeld')
    33463346                {
    33473347                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textfeld_frage').val(), 'next');
    3348                 } else if (datas[this.actualData].typ === 'af2_textbereich')
     3348                } else if (af2_datas[this.actualData].typ === 'af2_textbereich')
    33493349                {
    33503350                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textbereich_frage').val(), 'next');
    3351                 } else if (datas[this.actualData].typ === 'af2_datum')
     3351                } else if (af2_datas[this.actualData].typ === 'af2_datum')
    33523352                {
    33533353                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_datum_frage').val(), 'next');
    3354                 } else if (datas[this.actualData].typ === 'af2_slider')
     3354                } else if (af2_datas[this.actualData].typ === 'af2_slider')
    33553355                {
    33563356                    this.af2Move($(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_slider_frage').val(), 'next');
    3357                 } else if (datas[this.actualData].typ === 'af2_content')
     3357                } else if (af2_datas[this.actualData].typ === 'af2_content')
    33583358                {
    33593359                    this.af2Move("", 'next');
     
    33693369            const sliderSelector = $(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_slider_frage');
    33703370            const sliderBulletSelector = $(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_slider_frage_bullet');
    3371             af2AdjustSliderBullet(sliderSelector, sliderBulletSelector, datas[this.actualData], this.$);
     3371            af2AdjustSliderBullet(sliderSelector, sliderBulletSelector, af2_datas[this.actualData], this.$);
    33723372        });
    33733373    };
     
    34923492
    34933493        /** Set new Content **/
    3494         const buffer = af2FindNew(this.$, datas[this.id].sections[this.actualSection].contents[this.actualContent].connections, connectionFrom);
     3494        const buffer = af2FindNew(this.$, af2_datas[this.id].sections[this.actualSection].contents[this.actualContent].connections, connectionFrom);
    34953495
    34963496        const sec = this.actualSection;
     
    35103510                        this.formSelector + ' #' + (this.actualCarouselItem - 1) + '.af2_carousel_item');
    35113511
    3512                 if (datas[this.actualData].typ === 'af2_textfeld')
     3512                if (af2_datas[this.actualData].typ === 'af2_textfeld')
    35133513                {
    35143514                    $(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textfeld_frage').each((i, el) => {
     
    35233523                }
    35243524
    3525                 if (datas[this.actualData].typ === 'af2_textbereich')
     3525                if (af2_datas[this.actualData].typ === 'af2_textbereich')
    35263526                {
    35273527                    $(this.formSelector + ' #' + this.actualCarouselItem + '.af2_carousel_item .af2_textbereich_frage').each((i, el) => {
     
    37283728
    37293729    /** Check out which type it is **/
    3730     const type = datas[dataid].af2_type;                                                                                // The type of the Content to draw
     3730    const type = af2_datas[dataid].af2_type;                                                                                // The type of the Content to draw
    37313731    let content = '';
    37323732
     
    37393739    if (type === 'frage')
    37403740    {
    3741         content += af2DrawFrage($, datas[dataid], formSelector);
    3742         json = datas[dataid];
     3741        content += af2DrawFrage($, af2_datas[dataid], formSelector);
     3742        json = af2_datas[dataid];
    37433743    } else if (type === 'kontaktformular')
    37443744    {
    3745         content += af2DrawKontaktformular($, datas[dataid]);
     3745        content += af2DrawKontaktformular($, af2_datas[dataid]);
    37463746    }
    37473747
     
    40714071
    40724072        $.each(keys, (i, el) => {
    4073             datas[el] = json[el];
     4073            af2_datas[el] = json[el];
    40744074        });
    40754075
     
    41434143const af2LoadStyling = ($, id, formSelector) => {
    41444144    /** Overwrite styling **/
    4145     af2OverwriteStylings($, datas[id].styling).done((styling) => {
     4145    af2OverwriteStylings($, af2_datas[id].styling).done((styling) => {
    41464146        /** Generate the styling **/
    41474147        af2GenerateStylingContent($, formSelector, styling).done((style) => {
  • anfrageformular/trunk/res/scripts/af2_save_state.js

    r2359775 r2361750  
    2424                        content_after = JSON.stringify(content_after);
    2525                    }
    26                 }
    27                 catch
    28                 {
     26                } catch(e) {
    2927
    3028                }
  • anfrageformular/trunk/res/scripts/af2_sidebar.js

    r2359775 r2361750  
    243243                $(obj).focus();
    244244                $($(obj).parent()).addClass('selected');
    245             }
    246             catch
    247             {
     245            } catch(e){
    248246
    249247            }
Note: See TracChangeset for help on using the changeset viewer.