mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix global grid action events
This commit is contained in:
@@ -62,14 +62,8 @@ return {
|
||||
}
|
||||
for (i in options.global_actions) {
|
||||
var action = options.global_actions[i];
|
||||
var label_cls = '';
|
||||
if (action.target == 'inbound') {
|
||||
label_cls = 'use-inbound'
|
||||
} else {
|
||||
label_cls = 'use-outbound'
|
||||
}
|
||||
tmpl += '<li>' +
|
||||
'<a class="action-button ' + label_cls + '" href="' + action.url_args + '" onclick="return false;">' + action.label + '</a>' +
|
||||
'<a class="action-button use-target" target="' + action.target + '" href="' + action.url_args + '" onclick="return false;" >' + action.label + '</a>' +
|
||||
'</li>';
|
||||
}
|
||||
if (show_popup) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user