BUGFIX: Fixed onchange handler for DropdownTimeField (from r89903) (from r96720)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102343 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-12 01:48:15 +00:00
parent 5cd11b1f0c
commit 89816ce6c7

View File

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