web/MTrackWeb/templates/images/js/mtrack.file.event.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 16:11:17 +0000 (00:11 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 16:11:17 +0000 (00:11 +0800)
web/MTrackWeb/templates/images/js/mtrack.file.event.js

index 04656db..710a065 100644 (file)
@@ -29,6 +29,7 @@ $(document).ready(function()
         
         
         if (!cur_hidden || !loadit) {
+            console.log("no need to load?");
             return false;
         }
      
@@ -38,6 +39,7 @@ $(document).ready(function()
         $(target)[0].setAttribute('loaded', this.href);
         $(target).load(  this.href , function() {
             //console.log('loaded dif');
+            $(target).show();// 
             $('.togglediffcopy').click(function () {
                 //console.log('toggle dif pressed');
                 var diff_visible = $('table.code.diff tr td.lineno').is(":hidden")