BUGFIX: Fixed onchange handler for DropdownTimeField (from r89903)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@96720 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-01-12 22:54:59 +00:00
parent dd91f74d5d
commit f8f0759df9

View File

@ -91,6 +91,7 @@ TimeBehaviour = {
if( this.selectTag.selectedIndex != null ) {
var timeValue = this.selectTag.options[ this.selectTag.selectedIndex ].value;
this.value = timeValue;
if(this.onchange) this.onchange();
}
this.close();
}