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:
1 parent
9019b7742f
commit
970d073efa
1 file changed
+4
-2
@@ -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