Fixed url typo in backend_customers.js

This commit is contained in:
Alex Tselegidis 2015-05-28 00:01:50 +02:00
parent ecbe5600df
commit 4eb19df799

View file

@ -215,7 +215,7 @@ CustomersHelper.prototype.bindEventHandlers = function() {
* @param {object} customer Contains the customer data. * @param {object} customer Contains the customer data.
*/ */
CustomersHelper.prototype.save = function(customer) { CustomersHelper.prototype.save = function(customer) {
var postUrl = GlobalVariables.baseUrl + '/index.php/index.php/backend_api/ajax_save_customer'; var postUrl = GlobalVariables.baseUrl + '/index.php/backend_api/ajax_save_customer';
var postData = { var postData = {
'csrfToken': GlobalVariables.csrfToken, 'csrfToken': GlobalVariables.csrfToken,
'customer': JSON.stringify(customer) 'customer': JSON.stringify(customer)