Index: lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js,v diff -u -r1.7.2.1.4.1 -r1.7.2.1.4.2 --- lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js 8 Jan 2010 00:37:42 -0000 1.7.2.1.4.1 +++ lams_tool_larsrc/web/includes/javascript/rsrcresourceitem.js 20 Jan 2010 15:47:05 -0000 1.7.2.1.4.2 @@ -14,20 +14,13 @@ }); } function removeItemAttachment(idx){ - var url= removeItemAttachmentUrl; - var reqIDVar = new Date(); - var param = "reqID="+reqIDVar.getTime(); removeItemAttachmentLoading(); - var myAjax = new Ajax.Updater( - itemAttachmentTargetDiv, - url, - { - method:'post', - parameters:param, - onComplete:removeItemAttachmentComplete, - evalScripts:true - } - ); + $("#" + itemAttachmentTargetDiv).load( + removeItemAttachmentUrl, + { + reqID: new Date() + } + ); } function addInstruction(){ var param = $("#instructionForm").serialize();