mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3f72362734
commit
9e6cce7477
@ -605,6 +605,7 @@ var DialogsActions = actions.Actions({
|
|||||||
.append($('<div>')
|
.append($('<div>')
|
||||||
.text('Features: ' + that.getHandlerSourceTags(action).join(', ')))
|
.text('Features: ' + that.getHandlerSourceTags(action).join(', ')))
|
||||||
.append($('<hr>'))
|
.append($('<hr>'))
|
||||||
|
// parse the action doc...
|
||||||
.append($('<pre>')
|
.append($('<pre>')
|
||||||
.html((doc[action][1] || '')
|
.html((doc[action][1] || '')
|
||||||
// html stuff...
|
// html stuff...
|
||||||
@ -625,7 +626,11 @@ var DialogsActions = actions.Actions({
|
|||||||
|
|
||||||
// action links...
|
// action links...
|
||||||
.replace(/(\s)(\.([\w_]+[\w\d_]*)\([^)]*\))/g,
|
.replace(/(\s)(\.([\w_]+[\w\d_]*)\([^)]*\))/g,
|
||||||
'$1<a href="#" onclick="ig.showDoc(\'$3\')">$2</a>')
|
function(match, a, b, c){
|
||||||
|
return c == action ?
|
||||||
|
`${a}<i>${b}</i>`
|
||||||
|
: `${a}<a href="#" onclick="ig.showDoc(\'${c}\')">${b}</a>`
|
||||||
|
})
|
||||||
)))
|
)))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user