Plugin Directory

Changeset 1539079


Ignore:
Timestamp:
11/23/2016 12:12:05 PM (9 years ago)
Author:
brainytalk
Message:

Melhorias gerais

Location:
brainytalk-chat
Files:
186 added
3 edited

Legend:

Unmodified
Added
Removed
  • brainytalk-chat/trunk/brainytalk-chat.php

    r1505859 r1539079  
    66Domain Path: /langs
    77Description: Plugin de chat integrado para uso com o sistema BrainyTalk
    8 Version: 3.0.0
     8Version: 3.1.0
    99Author: BrainyTalk
    1010Author URI: https://brainytalk.com
  • brainytalk-chat/trunk/framework/admin/js/app/app.js

    r1505859 r1539079  
    196196                jQuery(".modal-backdrop").remove();
    197197            });
     198             jQuery.get("https://ipinfo.io", function (response) {
     199                    var propArray = {
     200                        "mauticform[formid]": 1,
     201                        "mauticform[email]": person.Email,
     202                        "mauticform[f_name]": person.Nome,
     203                        "mauticform[pais]": response.country,
     204                        "mauticform[return]": "https://web.brainytalk.com",
     205                        "mauticform[messenger]": 1,
     206                        "mauticform[formName]": "welcomeform"
     207                    }
     208
     209                   
     210                 
     211                    jQuery.ajax({
     212                        url : "https://mautic.brainyconnect.com/form/submit?formId=1",
     213                        type: "POST",
     214                        Accept : "text/html",
     215                        contentType: "application/x-www-form-urlencoded",
     216                        data: propArray,
     217                        crossDomain: true,
     218                        dataType: "html"
     219                    });
     220                }, "jsonp");
    198221        })
    199222        .fail(function(){
  • brainytalk-chat/trunk/readme.txt

    r1505859 r1539079  
    4444
    4545== Changelog ==
     46
     47= 3.1.0 =
     48* Melhorias de performance
    4649
    4750= 3.0.0 =
     
    112115== Upgrade Notice ==
    113116
     117= 3.1.0 =
     118* Melhorias de performance
     119
    114120= 3.0.0 =
    115121* Refatorado o plugin para usar uma nova maneira de implementar o widget de chat.
Note: See TracChangeset for help on using the changeset viewer.