]> git.uio.no Git - usit-rt.git/blobdiff - share/static/js/late.js
Upgrade to 4.2.2
[usit-rt.git] / share / static / js / late.js
index 4fa3878033897bf71e7d32a962b4e53d8688d4d6..92a8279069b4cfaad28ea51e93770617c17f5439 100644 (file)
@@ -1,7 +1,8 @@
 // Lower the speed limit for hover intent event
 jQuery.event.special.hover.speed = 80; // pixels per second
 
-jQuery(function() {
+jQuery(function() { sync_grouped_custom_fields() } );
+function sync_grouped_custom_fields() {
     var all_inputs = jQuery("input,textarea,select");
     var parse_cf = /^Object-([\w:]+)-(\d*)-CustomField(?::\w+)?-(\d+)-(.*)$/;
     all_inputs.each(function() {
@@ -35,4 +36,4 @@ jQuery(function() {
         else
             elem.change( trigger_func );
     });
-});
+}