diff --git a/ui (gen4)/features/sort.js b/ui (gen4)/features/sort.js index 71db0f16..c0cd4e01 100755 --- a/ui (gen4)/features/sort.js +++ b/ui (gen4)/features/sort.js @@ -722,6 +722,7 @@ var SortUIActions = actions.Actions({ // XXX add links from method names to their expansions and actual // methods (docs)... // ...method docs do not exist at this point... + // XXX do a better action calling scheme... showSortMethodDoc: ['- Sort/', widgets.makeUIDialog(function(method){ var data = this.expandSortMethod(method) @@ -734,9 +735,12 @@ var SortUIActions = actions.Actions({ .append($('
')
- .text(
+ .html(
'Sort order:\n '
- +data.join('\n '))))
+ +data
+ .map(function(m){
+ return `${m}`})
+ .join('\n '))))
})],
// XXX should we be able to edit modes???