Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function noCustomerPoll(){
- $(function() {
- $("form[action='account/login']").submit(function(event){
- event.preventDefault();
- if(products.length != 0){
- $.ajax({
- url: "/apps/proxy/customer",
- data: {products},
- type: "GET",
- dataType: "json",
- complete: function(data) {
- window.location.replace(data.responseText);
- },
- });
- }
- });
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement