Changeset 793 for trunk/plugins


Ignore:
Timestamp:
03/22/07 17:12:07 (12 years ago)
Author:
ray
Message:

Ticket #988 elements that have some javascript event hard coded in it's TAG is still enabled in WYSIWYG mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Linker/linker.js

    r731 r793  
    182182           values.p_options.push('height=' + values.p_height); 
    183183         } 
    184          atr.onclick = 'try{if(document.designMode && document.designMode == \'on\') return false;}catch(e){} window.open(this.href, \'' + (values.p_name.replace(/[^a-z0-9_]/i, '_')) + '\', \'' + values.p_options.join(',') + '\');return false;'; 
     184         atr.onclick = 'if(window.top && window.top.Xinha){return false}window.open(this.href, \'' + (values.p_name.replace(/[^a-z0-9_]/i, '_')) + '\', \'' + values.p_options.join(',') + '\');return false;'; 
    185185       } 
    186186     } 
Note: See TracChangeset for help on using the changeset viewer.