Changeset 617
- Timestamp:
- 12/06/06 13:03:34 (6 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
htmlarea.js (modified) (1 diff)
-
plugins/EnterParagraphs/enter-paragraphs.js (modified) (1 diff)
-
popups/popup.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r616 r617 5226 5226 if ( typeof this.config.baseHref != 'undefined' && this.config.baseHref !== null ) 5227 5227 { 5228 baseRe = new RegExp( this.config.baseHref.replace(HTMLArea.RE_Specials, '\\$1'), 'g');5228 baseRe = new RegExp( "((href|src|background)=\")(" + this.config.baseHref.replace( HTMLArea.RE_Specials, '\\$1' ) + ")", 'g' ); 5229 5229 } 5230 5230 else 5231 5231 { 5232 baseRe = new RegExp( document.location.href.replace(/([^\/]*\/?)$/, '').replace(HTMLArea.RE_Specials, '\\$1'), 'g');5233 } 5234 5235 html = html.replace(baseRe, ' ');5232 baseRe = new RegExp( "((href|src|background)=\")(" + document.location.href.replace( /([^\/]*\/?)$/, '' ).replace( HTMLArea.RE_Specials, '\\$1' ) + ")", 'g' ); 5233 } 5234 5235 html = html.replace(baseRe, '$1'); 5236 5236 } 5237 5237 -
trunk/plugins/EnterParagraphs/enter-paragraphs.js
r501 r617 427 427 428 428 return new Array(true, false ); 429 brea l;429 break; 430 430 431 431 case "find_cursorpoint": -
trunk/popups/popup.js
r594 r617 105 105 106 106 function __dlg_translate(context) { 107 var types = ["input", "select", "legend", "span", "option", "td", " button", "div", "label", "a", "img"];107 var types = ["input", "select", "legend", "span", "option", "td", "th", "button", "div", "label", "a", "img"]; 108 108 for (var type = 0; type < types.length; ++type) { 109 109 var spans = document.getElementsByTagName(types[type]);
