Petaluma City Schools
Developing Effective Communicators & Critical Thinkers
$(document).ready(function() {
var DomainID = ‘2113’;
var PageID = ‘2842’;
var RenderLoc = ‘0’;
var MIID = ‘9574’;
//added to check to make sure moderated content doesn’t bleed through the dialog
if ($(‘#dialog-overlay-WindowLargeModal-body.moderateContent’).length > 0) {
$(“#module-content-” + MIID).find(“.ui-widget-detail”).find(“.ui-article”).append(“
“);
}
});
$(document).ready(function (){
$(“.tag-list li a”).keypress(function(e) { if(e.which == 13) { $(this).click(); }});
});
function LoadGroupedData(container, MIID, PMI, groupYear, groupMonth, groupBy, tag) {
//ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
var viewToUse = “”;
if($(‘#hid-‘+MIID+’-SidebarListView’).length > 0){
viewToUse = $(“#hid-” + MIID + “-SidebarListView”).val();
};
GetContent(‘https://www.petalumacityschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=2113&PageID=2842&ModuleInstanceID=’ + MIID + ‘&PageModuleInstanceID=’ + PMI + ‘&RenderLoc=0&FromRenderLoc=0&GroupYear=’ + groupYear + ‘&GroupMonth=’ + groupMonth + ‘&GroupByField=’ + groupBy + ‘&EnableQuirksMode=0&ViewID=’ + viewToUse + ‘&Tag=’ + tag, container, 2, ‘chkSidebar();’);
}
function LoadData(container, MIID, PMI, flexDataID, groupYear, groupMonth, groupBy, targetView, tag) {
if(targetView !== undefined || targetView.Length() == 0){
//targetView looks at the hidden Detail View defined in the Builder View.
targetView = $(‘#hid-‘+MIID+’-DetailView’).val();
}
GetContent(‘https://www.petalumacityschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=2113&PageID=2842&ModuleInstanceID=’ + MIID + ‘&PageModuleInstanceID=’ + PMI + ‘&FlexDataID=’ + flexDataID + ‘&GroupYear=’ + groupYear + ‘&GroupMonth=’ + groupMonth + ‘&GroupByField=’ + groupBy + ‘&RenderLoc=0&FromRenderLoc=0&EnableQuirksMode=0&Tag=’ + tag + ‘&ViewID=’ + targetView, container, 2, ‘chkSidebar();’);
}
function LoadTaggedData(container, MIID, PMI, tag) {
//ViewToUse looks at the hidden Sidebar List View defined in the Builder View.
var viewToUse = “”;
if($(‘#hid-‘+MIID+’-SidebarListView’).length > 0){
viewToUse = $(“#hid-” + MIID + “-SidebarListView”).val();
};
GetContent(‘https://www.petalumacityschools.org//cms/UserControls/ModuleView/ModuleViewRendererWrapper.aspx?DomainID=2113&PageID=2842&ModuleInstanceID=’ + MIID + ‘&PageModuleInstanceID=’ + PMI + ‘&RenderLoc=0&FromRenderLoc=0&Tag=’ + tag + ‘&EnableQuirksMode=0&ViewID=’+viewToUse, container, 2, ‘chkSidebar();’);
setTimeout(function(){ $(“#module-content-“+ MIID +””).find(‘[tabindex]:first’).focus(); }, 200);
}