소스 검색

add some trace to materio_user.js for debigging

Bachir Soussi Chiadmi 11 년 전
부모
커밋
770e2155bb
2개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. 6 5
      js/materio_user.js
  2. 0 0
      js/materio_user.min.js

+ 6 - 5
js/materio_user.js

@@ -1,5 +1,5 @@
 // @codekit-prepend "gui.js"
-// @koala-prepend "gui.js"
+// @koala-prepend "gui_ck_fw/gui.js"
 
 (function($) {
 
@@ -14,9 +14,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;
@@ -30,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);
@@ -47,7 +48,7 @@ MaterioUser = function(){
   }
 
   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);});
   };
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
js/materio_user.min.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.