From a902975120976bb189e7a1aae83eee4cb33065d2 Mon Sep 17 00:00:00 2001 From: dumpfmprod Date: Wed, 22 Dec 2010 15:05:40 -0500 Subject: Change fav jquery effect --- scripts/dailyimgupload.py | 3 +++ static/js/pichat.js | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 scripts/dailyimgupload.py diff --git a/scripts/dailyimgupload.py b/scripts/dailyimgupload.py old mode 100644 new mode 100755 index 186614d..502d1d0 --- a/scripts/dailyimgupload.py +++ b/scripts/dailyimgupload.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import ctypes import datetime import os @@ -155,3 +156,5 @@ if __name__ == '__main__': dryrun = True upload_dirs_until_free(path, target_free_mbs, dryrun) + print "throwing error to test email" + sys.exit(1) # test email system diff --git a/static/js/pichat.js b/static/js/pichat.js index f378f3f..fff5fb3 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -391,7 +391,6 @@ function showFav(f) { buildFav(f).appendTo('#favbox').animate( {"opacity": 0}, {"duration": 9000, - "easing": "easeInExpo", "complete": removeFavAndHideBox }); } @@ -583,7 +582,7 @@ function refresh() { console.error(e); } } - setTimeout(refresh, 3000); + setTimeout(refresh, 1500); }; var onError = function(resp, textStatus, errorThrown) { var msg = $.trim(resp.responseText); @@ -592,7 +591,7 @@ function refresh() { if (IsAdmin && window.console) { console.error(resp, textStatus, errorThrown); } - setTimeout(refresh, 1000); + setTimeout(refresh, 4000); }; $.ajax({ -- cgit v1.2.3-70-g09d2