Changeset 5162 for branches/2.3/expressoMail1_2/js/common_functions.js
- Timestamp:
- 11/10/11 08:19:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.3/expressoMail1_2/js/common_functions.js
r5103 r5162 222 222 } 223 223 div_attachment.innerHTML="<iframe style='display:none;width:0;height:0' name='attachment' src='"+url+"'></iframe>"; 224 window.onbeforeunload = function(){return unloadMess();} 224 225 } 225 226 … … 239 240 240 241 div_attachment.innerHTML="<iframe style='display:none;width:0;height:0' name='attachment' src='inc/gotodownload.php?msg_folder="+msg_folder+"&msg_number="+msg_number+"&idx_file="+idx_file+"&msg_part="+msg_part+params+"'></iframe>"; 242 window.onbeforeunload = function(){return unloadMess();} 241 243 } 242 244 … … 315 317 var link_attachment = document.createElement("A"); 316 318 link_attachment.setAttribute("href", link); 317 319 link_attachment.onclick = function (){window.onbeforeunload = "";}; 318 320 link_attachment.innerHTML = file_name; 319 321 divFile.appendChild(link_attachment);
Note: See TracChangeset
for help on using the changeset viewer.