pass trans object into the helper function

This commit is contained in:
Evgeny Anatskiy
2016-10-09 16:32:58 +02:00
parent 2bf0549a37
commit d821c2745c
9 changed files with 15 additions and 18 deletions
+1 -1
View File
@@ -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
});
}