Author: sparky
Date: Thu Mar 3 21:49:37 2011
New Revision: 12184
Modified:
toys/rsget.pl/data/main.js
Log:
- don't be so annoying when asking for captcha
Modified: toys/rsget.pl/data/main.js
==============================================================================
--- toys/rsget.pl/data/main.js (original)
+++ toys/rsget.pl/data/main.js Thu Mar 3 21:49:37 2011
@@ -106,7 +106,17 @@
al = 1;
}
if ( al )
- alert( "Assist needed" );
+ window.setTimeout( ask_for_help, 500 );
+}
+
+var assist_alert = 0;
+function ask_for_help()
+{
+ if ( assist_alert )
+ return;
+ assist_alert = 1;
+ alert( "Please, solve captcha" );
+ assist_alert = 0;
}
function add_DL_commands( list )
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit