[Rt-commit] r16102 - in rt/branches/3.999-DANGEROUS: share/html/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Sep 26 12:19:23 EDT 2008
Author: sunnavy
Date: Fri Sep 26 12:19:23 2008
New Revision: 16102
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/share/html/Elements/HeaderJavascript
Log:
r16877 at sunnavys-mb: sunnavy | 2008-09-27 00:16:49 +0800
not every page has input.datetime
Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/HeaderJavascript
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/HeaderJavascript (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/HeaderJavascript Fri Sep 26 12:19:23 2008
@@ -113,6 +113,8 @@
<script type="text/javascript">
jQuery(document).ready(function (){
- jQuery("input.datetime").datepicker();
+ if ( jQuery('input.datetime') ) {
+ jQuery("input.datetime").datepicker();
+ }
});
</script>
More information about the Rt-commit
mailing list