mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
5cd11b1f0c
commit
89816ce6c7
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user