Changeset 973
- Timestamp:
- 02/07/08 14:44:12 (5 years ago)
- Files:
-
- 1 modified
-
trunk/XinhaCore.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r969 r973 5020 5020 if ( typeof this.config.baseHref != 'undefined' && this.config.baseHref !== null ) 5021 5021 { 5022 baseRe = new RegExp( "((href|src|background )=\")(" + Xinha.escapeStringForRegExp(this.config.baseHref.replace(/([^\/]\/)(?=.+\.)[^\/]*$/, "$1")) + ")", 'g' );5022 baseRe = new RegExp( "((href|src|background|action)=\")(" + Xinha.escapeStringForRegExp(this.config.baseHref.replace(/([^\/]\/)(?=.+\.)[^\/]*$/, "$1")) + ")", 'g' ); 5023 5023 } 5024 5024 else 5025 5025 { 5026 baseRe = new RegExp( "((href|src|background )=\")(" + Xinha.escapeStringForRegExp(document.location.href.replace( /^(https?:\/\/[^\/]*)(.*)/, '$1' )) + ")", 'g' );5026 baseRe = new RegExp( "((href|src|background|action)=\")(" + Xinha.escapeStringForRegExp(document.location.href.replace( /^(https?:\/\/[^\/]*)(.*)/, '$1' )) + ")", 'g' ); 5027 5027 } 5028 5028
