rem: var canDetach = !IsNewsMessage(uri) && (!IsImapMessage(uri) || CheckOnline()); 
add: var canDetach = !IsNewsMessage(uri) && (!IsImapMessage(uri) || MailOfflineMgr.isOnline()); 
context: function CanDetachAttachments(){  var uri = GetLoadedMessage();  var canDetach = !IsNewsMessage(uri) && (!IsImapMessage(uri) || CheckOnline());  if (canDetach && ("content-type" in currentHeaderData))  {    var contentType = currentHeaderData["content-type"].headerValue;    canDetach = contentType.indexOf("application/x-pkcs7-mime") < 0 &&         contentType.indexOf("application/x-pkcs7-signature") < 0;  }  return canDetach;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/112eb3c61f3751959441fb43cbe46e8ef204db63/msgHdrViewOverlay.js/buggy/mail/base/content/msgHdrViewOverlay.js