Permalink
Browse files

not sure what this is but probably shouldn't be deleted

  • Loading branch information...
1 parent 17cc8fb commit e88951d1abf54973d7a4159d4b6b7ac881cc6298 Sarah Kahn committed Aug 25, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 web-app/js/application.js
View
@@ -0,0 +1,19 @@
+// dropdown hook
+
+$(document).ready(function() {
+ $('.settings').dropdown()
+});
+
+/*var Ajax;
+if (Ajax && (Ajax != null)) {
+ Ajax.Responders.register({
+ onCreate: function() {
+ if($('spinner') && Ajax.activeRequestCount>0)
+ Effect.Appear('spinner',{duration:0.5,queue:'end'});
+ },
+ onComplete: function() {
+ if($('spinner') && Ajax.activeRequestCount==0)
+ Effect.Fade('spinner',{duration:0.5,queue:'end'});
+ }
+ });
+}*/

0 comments on commit e88951d

Please sign in to comment.