vendor/assets/javascripts/dynaspan/dynaspan.js in dynaspan-0.0.8 vs vendor/assets/javascripts/dynaspan/dynaspan.js in dynaspan-0.0.9
- old
+ new
@@ -24,7 +24,10 @@
if (field_val.length == 0){
ds_block.removeClass("ds-content-present")
} else {
ds_block.addClass("ds-content-present")
}
+ if (ds_block.data('dsCallbackOnUpdate')){
+ eval(ds_block.data('dsCallbackOnUpdate'))
+ }
};
})(jQuery);
\ No newline at end of file