mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20: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
|
// XXX add links from method names to their expansions and actual
|
||||||
// methods (docs)...
|
// methods (docs)...
|
||||||
// ...method docs do not exist at this point...
|
// ...method docs do not exist at this point...
|
||||||
|
// XXX do a better action calling scheme...
|
||||||
showSortMethodDoc: ['- Sort/',
|
showSortMethodDoc: ['- Sort/',
|
||||||
widgets.makeUIDialog(function(method){
|
widgets.makeUIDialog(function(method){
|
||||||
var data = this.expandSortMethod(method)
|
var data = this.expandSortMethod(method)
|
||||||
@ -734,9 +735,12 @@ var SortUIActions = actions.Actions({
|
|||||||
.append($('<hr>'))
|
.append($('<hr>'))
|
||||||
// parse the action doc...
|
// parse the action doc...
|
||||||
.append($('<pre>')
|
.append($('<pre>')
|
||||||
.text(
|
.html(
|
||||||
'Sort order:\n '
|
'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???
|
// XXX should we be able to edit modes???
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user