From fcb287d8de66da3aa786f46692a2e83666482add Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Thu, 18 Feb 2010 19:24:55 +0000 Subject: [PATCH] #557272 follow-up by Dave Reid: Allow triggering states on change event. --- misc/states.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/states.js b/misc/states.js index 2feef8dfdf37..2a664dd59291 100644 --- a/misc/states.js +++ b/misc/states.js @@ -250,6 +250,9 @@ states.Trigger.states = { value: { 'keyup': function () { return this.val(); + }, + 'change': function () { + return this.val(); } }, -- GitLab