[TASK] Set type for ajax request in javascript
authorOliver Eglseder <oliver.eglseder@in2code.de>
Thu, 3 Sep 2015 10:07:25 +0000 (12:07 +0200)
committerOliver Eglseder <oliver.eglseder@in2code.de>
Thu, 3 Sep 2015 10:07:25 +0000 (12:07 +0200)
Resources/Public/JavaScript/PowermailCondition.js

index f215987..391853c 100644 (file)
@@ -40,7 +40,7 @@ function PowermailCondition($formElement) {
        this.sendFormValuesToPowermailCond = function() {
                jQuery.ajax({
                        type: 'POST',
-                       url: 'index.php',
+                       url: 'index.php?type=3131',
                        data: new FormData(that.$formElement.get(0)),
                        contentType: false,
                        processData: false,
@@ -69,4 +69,4 @@ jQuery(document).ready(function() {
                var PowermailCondition = new window.PowermailCondition($(this));
                PowermailCondition.sendFormValuesToPowermailCond();
        });
-});
\ No newline at end of file
+});