Migration of sortMenu to ES6 module
This commit is contained in:
parent
0ef8f3d038
commit
9d822d911a
3 changed files with 48 additions and 42 deletions
|
@ -371,7 +371,7 @@ define(['globalize', 'listView', 'layoutManager', 'userSettings', 'focusManager'
|
|||
var instance = this;
|
||||
|
||||
require(['sortMenu'], function (SortMenu) {
|
||||
new SortMenu().show({
|
||||
new SortMenu.default().show({
|
||||
settingsKey: instance.getSettingsKey(),
|
||||
settings: instance.getSortValues(),
|
||||
onChange: instance.itemsContainer.refreshItems.bind(instance.itemsContainer),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue