rem: if (!editorShell.CheckAndSaveDocument(editorShell.GetString("BeforePreview"))) return;  fileurl = ""; try { fileurl = window.content.location; } catch (e) { return; }    if (fileurl != "" && fileurl != "about:blank") { window.openDialog(getBrowserURL(), "EditorPreview", "chrome,all,dialog=no", fileurl ); } 
add: return _EditorObsolete(); 
context: function EditorPreview(){  if (!editorShell.CheckAndSaveDocument(editorShell.GetString("BeforePreview")))    return;  fileurl = "";  try {    fileurl = window.content.location;  } catch (e) {    return;  }  // CheckAndSave doesn't tell us if the user said "Don't Save",  // so make sure we have a url:  if (fileurl != "" && fileurl != "about:blank") {    window.openDialog(getBrowserURL(),                      "EditorPreview",                      "chrome,all,dialog=no",                      fileurl );  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/035965297dd3eee99dadbd7c3a6f8560d975d3ea/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js