mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
pass trans object into the helper function
This commit is contained in:
@@ -53,7 +53,7 @@ define([], function() {
|
||||
icon : (typeof webhook.config.icon != 'undefined') ? webhook.config.icon : '',
|
||||
url : (typeof webhook.config.url != 'undefined') ? webhook.config.url : '',
|
||||
tooltip : (typeof webhook.config.tooltip != 'undefined') ? webhook.config.tooltip : '',
|
||||
// onclick : function() {},
|
||||
onclick : (typeof webhook.config.function != 'undefined') ? new Function(webhook.config.function) : '',
|
||||
// visible : webhook.activate
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user