|
@@ -459,7 +459,7 @@ MaterioUser = function(){
|
|
|
url: Drupal.settings.basePath+Drupal.settings.pathPrefix+"materio_user/register/submit",
|
|
|
data: $('#user-register-form', $modal).serialize(),
|
|
|
success: function(data) { onUserLoginRegisterSubmit($('#user-register-form'), data, destination);},
|
|
|
- error: function() {trace('error');}
|
|
|
+ error: function(jqXHR, textStatus, errorThrown) { trace('error : '+textStatus+' | '+errorThrown); }
|
|
|
});
|
|
|
return false;
|
|
|
});
|
|
@@ -472,7 +472,7 @@ MaterioUser = function(){
|
|
|
url: Drupal.settings.basePath+Drupal.settings.pathPrefix+"materio_user/login/submit",
|
|
|
data: $('#user-login', $modal).serialize(),
|
|
|
success: function(data){ onUserLoginRegisterSubmit($('#user-login'), data, destination); },
|
|
|
- error: function() { trace('error'); }
|
|
|
+ error: function(jqXHR, textStatus, errorThrown) { trace('error : '+textStatus+' | '+errorThrown); }
|
|
|
});
|
|
|
return false;
|
|
|
});
|