<a href="http://modx.com/forums" target="_NEW">
<a onclick="window.open('http://modx.com/forums');" href="javascript:;"><li>
<a href="javascript:;" onclick="
MODx.msg.confirm({
title: _('remove_locks')
,text: _('confirm_remove_locks')
,url: MODx.config.connectors_url+'system/remove_locks.php'
,params: {
action: 'remove'
}
,listeners: {
'success': {fn:function() { Ext.getCmp('modx-resource-tree').refresh(); },scope:this}
}
});">Remove Locks<span class="description">This will remove any locks that are on any manager pages as a result of other users editing them.</span>
</a>
</li>easier to make them all the same way (i.e. with a template)
When all a link does is call "window.open" on "onclick", the most basic function of the anchortag should be used instead.Totally agree.