- Timestamp:
- 06/03/05 07:44:45 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r215 r216 4079 4079 html = html.replace(/<(\/?)i(\s|>|\/)/ig, "<$1em$2"); 4080 4080 4081 // replace window.open to that any clicks won't open a popup in designMode 4082 html = html.replace("onclick=\"try{if(document.designMode && document.designMode == 'on') return false;}catch(e){} window.open(", "onclick=\"window.open("); 4083 4081 4084 // Figure out what our server name is, and how it's referenced 4082 4085 var serverBase = location.href.replace(/(https?:\/\/[^\/]*)\/.*/, '$1') + '/'; … … 4104 4107 html = html.replace(/<(\/?)em(\s|>|\/)/ig, "<$1i$2"); 4105 4108 } 4109 4110 // replace window.open to that any clicks won't open a popup in designMode 4111 html = html.replace("onclick=\"window.open(", "onclick=\"try{if(document.designMode && document.designMode == 'on') return false;}catch(e){} window.open("); 4112 4106 4113 html = this.inwardSpecialReplacements(html); 4107 4114
Note: See TracChangeset
for help on using the changeset viewer.