mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
accent commit and source link
This commit is contained in:
@@ -37,7 +37,13 @@ Sonia.util.Link = Ext.extend(Ext.BoxComponent, {
|
||||
constructor: function(config) {
|
||||
config = config || {};
|
||||
config.xtype = 'box';
|
||||
config.autoEl = { tag: 'a', html: config.text, href: '#' };
|
||||
config.autoEl = {
|
||||
tag: 'a',
|
||||
html: config.text,
|
||||
href: '#',
|
||||
style: config.style,
|
||||
'class': config['class']
|
||||
};
|
||||
config.listeners = {
|
||||
render: function(c) {
|
||||
c.getEl().on('click', function(){
|
||||
|
||||
Reference in New Issue
Block a user