From d35ee7ea84226bc85619884eb410dfa7cefcc1d2 Mon Sep 17 00:00:00 2001 From: George Connor Date: Thu, 14 Jul 2016 10:49:47 +1200 Subject: [PATCH 1/2] fire change event when a dependent field changes. --- javascript/dependentdropdownfield.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/dependentdropdownfield.js b/javascript/dependentdropdownfield.js index d780faa..f185530 100644 --- a/javascript/dependentdropdownfield.js +++ b/javascript/dependentdropdownfield.js @@ -1,5 +1,5 @@ jQuery.entwine("dependentdropdown", function ($) { - + $(":input.dependent-dropdown").entwine({ onadd: function () { var drop = this; @@ -26,7 +26,7 @@ jQuery.entwine("dependentdropdown", function ($) { $.each(data, function () { drop.append($("