[pLog-svn] r2029 - plog/branches/plog-1.0.1/js/htmlarea
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Fri May 20 08:04:30 GMT 2005
Author: oscar
Date: 2005-05-20 08:04:30 +0000 (Fri, 20 May 2005)
New Revision: 2029
Modified:
plog/branches/plog-1.0.1/js/htmlarea/htmlarea-plog-resourcelist.js
Log:
somehow we forgot a hardcoded "test" when adding resources to links :(
Modified: plog/branches/plog-1.0.1/js/htmlarea/htmlarea-plog-resourcelist.js
===================================================================
--- plog/branches/plog-1.0.1/js/htmlarea/htmlarea-plog-resourcelist.js 2005-05-20 08:00:00 UTC (rev 2028)
+++ plog/branches/plog-1.0.1/js/htmlarea/htmlarea-plog-resourcelist.js 2005-05-20 08:04:30 UTC (rev 2029)
@@ -13,7 +13,7 @@
}
else {
// if not an image, there is not much we can do
- htmlCode = '<a title="'+resourceDesc+'" href="'+plogBaseUrl+'/resserver.php?blogId='+blogId+'&resource='+encodeURIComponent(resourceName)+'">test</a>';
+ htmlCode = '<a title="'+resourceDesc+'" href="'+plogBaseUrl+'/resserver.php?blogId='+blogId+'&resource='+encodeURIComponent(resourceName)+'">'+resourceName+'</a>';
}
return htmlCode;
@@ -21,7 +21,6 @@
function _generateResourceLink( dest, blogId, type, resourceName, resourceDesc, preview, mimeType, resId )
{
- window.alert('resource id = ' + resId);
var htmlCode = '';
if( type == 1 ) {
// if the resource is an image, check the second parameter to see wether we'd like
@@ -43,7 +42,7 @@
}
else {
// if not an image, there is not much we can do
- htmlCode = '<a id="res_'+resId+'" title="'+resourceDesc+'" href="'+plogBaseUrl+'/resserver.php?blogId='+blogId+'&resource='+encodeURIComponent(resourceName)+'" type="'+mimeType+'">test</a>';
+ htmlCode = '<a id="res_'+resId+'" title="'+resourceDesc+'" href="'+plogBaseUrl+'/resserver.php?blogId='+blogId+'&resource='+encodeURIComponent(resourceName)+'" type="'+mimeType+'">'+resourceName+'</a>';
}
return htmlCode;
More information about the pLog-svn
mailing list