[pLog-svn] r1113 - plog/trunk/js/htmlarea

mark at devel.plogworld.net mark at devel.plogworld.net
Thu Feb 17 08:17:25 GMT 2005


Author: mark
Date: 2005-02-17 08:17:22 +0000 (Thu, 17 Feb 2005)
New Revision: 1113

Modified:
   plog/trunk/js/htmlarea/htmlarea.js
Log:
Solve issue http://bugs.plogworld.net/view.php?id=246

Modified: plog/trunk/js/htmlarea/htmlarea.js
===================================================================
--- plog/trunk/js/htmlarea/htmlarea.js	2005-02-17 06:54:47 UTC (rev 1112)
+++ plog/trunk/js/htmlarea/htmlarea.js	2005-02-17 08:17:22 UTC (rev 1113)
@@ -2549,7 +2549,18 @@
 	return null;
 };
 
+// -------------------------------------------------------------
+// PLOG HTMLAREA TWEAK
+// Changed by: Mark Wu
+// Date: 2005/02/17
+// Purpose: Remove stripBaseURL for compatiability
+// -------------------------------------------------------------
+
 HTMLArea.prototype.stripBaseURL = function(string) {
+    return string;
+};
+
+/* HTMLArea.prototype.stripBaseURL = function(string) {
 	var baseurl = this.config.baseURL;
 
 	// strip to last directory in case baseurl points to a file
@@ -2561,8 +2572,10 @@
 	baseurl = baseurl.replace(/^(https?:\/\/[^\/]+)(.*)$/, '$1');
 	basere = new RegExp(baseurl);
 	return string.replace(basere, "");
-};
+}; */
 
+// -------------------------------------------------------------
+
 String.prototype.trim = function() {
 	return this.replace(/^\s+/, '').replace(/\s+$/, '');
 };




More information about the pLog-svn mailing list