mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
sort doca update...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4ee2094be5
commit
098715bbae
@ -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($('<hr>'))
|
||||
// parse the action doc...
|
||||
.append($('<pre>')
|
||||
.text(
|
||||
.html(
|
||||
'Sort order:\n '
|
||||
+data.join('\n '))))
|
||||
+data
|
||||
.map(function(m){
|
||||
return `<a href="javascript:ig.showSortMethodDoc('${m}')">${m}</a>`})
|
||||
.join('\n '))))
|
||||
})],
|
||||
|
||||
// XXX should we be able to edit modes???
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user