Commit 6d39ec27f9539877ad58cfbbbb27e00963c2f22b
1 parent
cb05cfeb
added 'text/javascript' type to jquery_ready
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
web/CXM_jquery.anubis
| ... | ... | @@ -49,7 +49,7 @@ public define Script |
| 49 | 49 | ( |
| 50 | 50 | String code //javascript code to execute when the document is ready |
| 51 | 51 | )= |
| 52 | - script("","jQuery(function(){"+code+"});"). | |
| 52 | + script("text/javascript","$(document).ready(function(){"+code+"});"). | |
| 53 | 53 | |
| 54 | 54 | |
| 55 | 55 | /* jQuery default js files */ | ... | ... |