Fix global grid action events

This commit is contained in:
guerler
2017-05-15 14:21:17 -04:00
parent 185c76605f
commit bd83608a2f
3 changed files with 3 additions and 9 deletions
@@ -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