by Ludek » Mon Jan 23, 2017 12:32 pm
Just create a script (folder under /Scripts/) with file /controls/searchBar_add.js
Namely [your MM5 install folder]/scripts/[YourScriptName]/controls/searchBar_add.js
with following content:
Code: Select all
SearchBar.prototype._orig_comeIn = SearchBar.prototype.comeIn;
SearchBar.prototype.comeIn = function (params) {
if (params.searchType != 'activelist')
this._orig_comeIn(params);
}
You can add also info.json, zip it and rename it to *.mmip so that others can easily install it as an extension.
Just create a script (folder under /Scripts/) with file /controls/searchBar_add.js
Namely [your MM5 install folder]/scripts/[YourScriptName]/controls/searchBar_add.js
with following content:
[code]
SearchBar.prototype._orig_comeIn = SearchBar.prototype.comeIn;
SearchBar.prototype.comeIn = function (params) {
if (params.searchType != 'activelist')
this._orig_comeIn(params);
}
[/code]
You can add also info.json, zip it and rename it to *.mmip so that others can easily install it as an extension.