remove href='#' from links

This commit is contained in:
Sebastian Sdorra
2011-08-22 15:32:24 +02:00
parent 383cef7d6b
commit 82e7589538
3 changed files with 16 additions and 4 deletions

View File

@@ -36,13 +36,16 @@ Sonia.util.Link = Ext.extend(Ext.BoxComponent, {
constructor: function(config) {
config = config || {};
var cl = 'scm-link';
if (config['class']){
cl += ' ' +config['class'];
}
config.xtype = 'box';
config.autoEl = {
tag: 'a',
html: config.text,
href: '#',
html: config.text,
style: config.style,
'class': config['class']
'class': cl
};
config.listeners = {
render: function(c) {