mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Dashboard: Add "input" event to properties listeners for real-time updates
This commit is contained in:
@@ -35,7 +35,7 @@ $(function()
|
||||
{
|
||||
// In case there is an hidden input having the same id (somewhere else in the page), the change event does not occur unless the input loses the focus
|
||||
// To reduce the impact, let's handle keyup as well
|
||||
$('#'+this.options.field_id, this.element).on('change.itop-property-field keyup.itop-property-field', function() { me._on_change(); });
|
||||
$('#'+this.options.field_id, this.element).on('change.itop-property-field keyup.itop-property-field input.itop-property-field', function() { me._on_change(); });
|
||||
this.value = this._get_field_value();
|
||||
}
|
||||
this.element.find(".prop_apply").on('click.itop-property-field', function() { me._do_apply(); });
|
||||
|
||||
Reference in New Issue
Block a user