formID = application.ptBlog2.ceData.getFormIDFromPageID(Request.DatasheetRow.pageid); postID = Request.Datasheet.currentColumnValue; //postID = Request.Datasheet.CurrentFormattedValue; mouseoverJS = "jQuery(this).addClass('ui-state-hover')"; mouseoutJS = "jQuery(this).removeClass('ui-state-hover')"; application.ptBlog2.scripts.loadJQuery(noConflict=1); application.ptBlog2.scripts.loadJQueryUI(); application.ptBlog2.scripts.loadADFLightbox(); sortColumn = "Title"; sortValue = request.DataSheetRow[sortColumn][Request.DataSheetRow.CurrentRow]; blogid = ""; if ( StructKeyExists(request.params,"blogID") ) { // if a list if IDs has been passed in via the URL go ahead a override any other criteria blogid = request.params.blogID; } else if ( StructKeyExists(request,"blogMgr") AND StructKeyExists(request.blogMgr,"blogID") ) { // Check filter session for the Page ID to use for filtering (or default to 0) blogid = request.blogMgr.blogID; } application.ADF.scripts.addHeaderCSS(blogAppDataSheetModHeaderCSS, "TERTIARY"); // PRIMARY, SECONDARY, TERTIARY // Load the inline JS as a JS Resource if ( eparam.permitClientSideSort ) application.ADF.scripts.addFooterJS(blogAppDataSheetModFooterJS, "TERTIARY"); // PRIMARY, SECONDARY, TERTIARY