removed trace from materio_user.js
This commit is contained in:
parent
770e2155bb
commit
ffff23584e
@ -14,9 +14,9 @@ MaterioUser = function(){
|
||||
};
|
||||
|
||||
function initAdhesion(){
|
||||
trace('initAdhesion');
|
||||
// trace('initAdhesion');
|
||||
$('.get-link a').bind('click', function(event) {
|
||||
trace('get-link click');
|
||||
// trace('get-link click');
|
||||
|
||||
// do not show the registration form if already logged-in
|
||||
if($('body').is('.logged-in'))
|
||||
@ -31,7 +31,7 @@ MaterioUser = function(){
|
||||
|
||||
destination = "/" + destination[1].replace('%23', '#');
|
||||
destination = destination.replace('//', '/');
|
||||
trace('destination', destination);
|
||||
// trace('destination', destination);
|
||||
|
||||
if($this.parents('.gratos').size()){
|
||||
loadRegisterBlock(destination);
|
||||
@ -43,12 +43,12 @@ MaterioUser = function(){
|
||||
};
|
||||
|
||||
function loadRegisterBlock (destination) {
|
||||
trace("loadRegisterBlock :: dest = "+destination);
|
||||
// trace("loadRegisterBlock :: dest = "+destination);
|
||||
$.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+'materio_user/registerblock', function(json){formLoaded(json, destination);});
|
||||
}
|
||||
|
||||
function loadLoginAndRegisterBlock(destination){
|
||||
trace('loadRegistrationBlock :: dest = '+destination);
|
||||
// trace('loadRegistrationBlock :: dest = '+destination);
|
||||
$.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+'materio_user/loginandregisterblock', function(json){formLoaded(json, destination);});
|
||||
};
|
||||
|
||||
|
11
js/materio_user.min.js
vendored
11
js/materio_user.min.js
vendored
@ -384,9 +384,10 @@ MaterioUser = function(){
|
||||
};
|
||||
|
||||
function initAdhesion(){
|
||||
trace('initAdhesion');
|
||||
// trace('initAdhesion');
|
||||
$('.get-link a').bind('click', function(event) {
|
||||
|
||||
// trace('get-link click');
|
||||
|
||||
// do not show the registration form if already logged-in
|
||||
if($('body').is('.logged-in'))
|
||||
return true;
|
||||
@ -400,7 +401,7 @@ MaterioUser = function(){
|
||||
|
||||
destination = "/" + destination[1].replace('%23', '#');
|
||||
destination = destination.replace('//', '/');
|
||||
trace('destination', destination);
|
||||
// trace('destination', destination);
|
||||
|
||||
if($this.parents('.gratos').size()){
|
||||
loadRegisterBlock(destination);
|
||||
@ -412,12 +413,12 @@ MaterioUser = function(){
|
||||
};
|
||||
|
||||
function loadRegisterBlock (destination) {
|
||||
trace("loadRegisterBlock :: dest = "+destination);
|
||||
// trace("loadRegisterBlock :: dest = "+destination);
|
||||
$.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+'materio_user/registerblock', function(json){formLoaded(json, destination);});
|
||||
}
|
||||
|
||||
function loadLoginAndRegisterBlock(destination){
|
||||
trace('loadRegistrationBlock :: dest = '+destination);
|
||||
// trace('loadRegistrationBlock :: dest = '+destination);
|
||||
$.getJSON(Drupal.settings.basePath+Drupal.settings.pathPrefix+'materio_user/loginandregisterblock', function(json){formLoaded(json, destination);});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user