Browse Source

javascript fix: appel de fonction lorsque rien a lire pour l'uatoplay

Sevajol Bastien 12 years ago
parent
commit
85423935ab
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Muzich/CoreBundle/Resources/public/js/autoplay.js

+ 2 - 1
src/Muzich/CoreBundle/Resources/public/js/autoplay.js View File

@@ -53,7 +53,7 @@ function Autoplay()
53 53
     }
54 54
     else
55 55
     {
56
-      this.nothingToPlay();
56
+      window.autoplay.nothingToPlay();
57 57
     }
58 58
   }
59 59
   
@@ -122,6 +122,7 @@ function Autoplay()
122 122
     $('div#autoplay_player_container').html('<div id="autoplay_player"></div>');
123 123
     $('li#autoplay_element_container').html('');
124 124
     $('#autoplay iframe').hide();
125
+    $('#autoplay img[alt="loader"]').hide();
125 126
   }
126 127
   
127 128
 }