So I found the below code, from the below link, which allows SharePoint calendar events to be opened in a modal pop-up view rather than loaded into a new page, but would it be possible to tweak the code so that the pop-up opens into Edit mode by default so the user wouldn't have to manually click into Edit for the pop-up to make edits to the event? I am total noob with JavaScript and code in general.
<script src=http://code.jquery.com/jquery-1.11.1.min.js type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
setInterval(function () {
$("a[href*='DispForm.aspx']").each(function () {
$(this).attr("onclick", "openDialog('" + $(this).text() + "','" + $(this).attr("href") + "')");
$(this).attr("href", "javascript:void(0)");
$(this).removeAttr("target");
});
}, 900);
});
function openDialog(title, url) {
var options = {
title: "Calendar - " + title,
autoSize:true,
url: url
};
SP.UI.ModalDialog.showModalDialog(options);
}
</script>