[Rt-commit] rt branch, 4.0/alert-invalid-file-inputs, updated. rt-4.0.0rc4-64-g05ff817
? sunnavy
sunnavy at bestpractical.com
Wed Mar 2 23:53:13 EST 2011
The branch, 4.0/alert-invalid-file-inputs has been updated
via 05ff817d118c92f25c33713e60cbd7e27617a809 (commit)
from 00b00aa57863d9f2b6f784f26abb08bcaafc3ecc (commit)
Summary of changes:
share/html/Elements/HeaderJavascript | 7 -------
share/html/NoAuth/js/util.js | 7 +++++++
2 files changed, 7 insertions(+), 7 deletions(-)
- Log -----------------------------------------------------------------
commit 05ff817d118c92f25c33713e60cbd7e27617a809
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Mar 3 12:32:25 2011 +0800
we should put js into .js files amap
diff --git a/share/html/Elements/HeaderJavascript b/share/html/Elements/HeaderJavascript
index bbc846c..5e01887 100644
--- a/share/html/Elements/HeaderJavascript
+++ b/share/html/Elements/HeaderJavascript
@@ -71,13 +71,6 @@ $onload => undef
% }
-jQuery( function() {
- jQuery("input[type=file]").change( function() {
- checkFileInput(this);
- } );
- }
-);
-
--></script>
<%INIT>
diff --git a/share/html/NoAuth/js/util.js b/share/html/NoAuth/js/util.js
index 82fe409..9c3d9bd 100644
--- a/share/html/NoAuth/js/util.js
+++ b/share/html/NoAuth/js/util.js
@@ -354,3 +354,10 @@ function checkFileInput ( element ) {
}
}
+jQuery( function() {
+ jQuery("input[type=file]").change( function() {
+ checkFileInput(this);
+ } );
+ }
+);
+
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list