Send a data object in $.trigger
There was a mistake in #299: the $.trigger() must take only one argument for extraParameters. Sending another parameter causes NULL to be logged in EventLogging for ulsPurpose.
This commit is contained in:
@@ -235,8 +235,10 @@
|
||||
this.$suggestion.val( '' );
|
||||
this.$element.trigger(
|
||||
'noresults.uls',
|
||||
query,
|
||||
this.options.ulsPurpose
|
||||
{
|
||||
query: query,
|
||||
ulsPurpose: this.options.ulsPurpose
|
||||
}
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user