bug fixe
This commit is contained in:
parent
7aa6dfe191
commit
77414c7cb9
@ -44,7 +44,7 @@ MaterioUser = function(){
|
|||||||
|
|
||||||
function loadRegisterBlock (destination) {
|
function loadRegisterBlock (destination) {
|
||||||
trace("loadRegisterBlock :: dest = "+destination);
|
trace("loadRegisterBlock :: dest = "+destination);
|
||||||
$.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+'materio_user/registerblock', formLoaded);
|
$.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+'materio_user/registerblock', function(json){formLoaded(json, destination);});
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadLoginAndRegisterBlock(destination){
|
function loadLoginAndRegisterBlock(destination){
|
||||||
@ -127,6 +127,7 @@ MaterioUser = function(){
|
|||||||
$form.prepend($('<div>').addClass('message-error').html(data.errors[field]));
|
$form.prepend($('<div>').addClass('message-error').html(data.errors[field]));
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
// trace('destination = '+destination);
|
||||||
window.location.pathname = destination;
|
window.location.pathname = destination;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user