<commit_before>/*
 * Copyright (c) 2000-2009, Jasig, Inc.
 * See license distributed with this file and available online at
 * https://www.ja-sig.org/svn/jasig-parent/tags/rel-10/license-header.txt
 */
/*
	CONFIGURATION PARAMETERS
	

*/
(function($){
	
    // if the uPortal scope is not available, add it
    $.uportal = $.uportal || {};
    
    $.uportal.UportalLayoutManager = function(callerSettings) {
		var settings = $.extend({
		    preferencesUrl: 'ajax/preferences',
		    channelListUrl: 'mvc/channelList?xml=true',
		    portalUrl: null,
		    mediaPath: null,
		    currentSkin: null,
		    isFocusMode: false,
		    messages: {}
	    }, callerSettings||{});


		/*
			INTERNAL METHODS
		*/

		// Initialization tasks for non-focused mode
		var initportal = function() {
		
		    settings.columnCount = $("#portalPageBodyColumns [id^=column_]").size(); 
		    if ($("#portalNavigationList li.active").size() > 0) {
			    settings.tabId = $("#portalNavigationList li.active").attr("id").split("_")[1];
		    }
		
			// initialize dialog menus
			$("#contentDialogLink").click(initializeContentAddingMenu);
			$("#layoutDialogLink").click(initializeLayoutMenu);
			$("#skinDialogLink").click(initializeSkinMenu);
		
			// set up the Fluid reorderer to control portlet drag and drop
		    var options = {
		         selectors: {
			        columns: ".portal-page-column-inner",
			        modules: ".up-portlet-container",
			        lockedModules: ".locked",
			        dropWarning: $("#portalDropWarning"),
			        grabHandle: "[id*=toolbar_]"
		         },
		         listeners: {<commit_msg>UP-2564 Updating uPortal AJAX layout js to use new portlet wrapper classname.<commit_after>/*
 * Copyright (c) 2000-2009, Jasig, Inc.
 * See license distributed with this file and available online at
 * https://www.ja-sig.org/svn/jasig-parent/tags/rel-10/license-header.txt
 */
/*
	CONFIGURATION PARAMETERS
	

*/
(function($){
	
    // if the uPortal scope is not available, add it
    $.uportal = $.uportal || {};
    
    $.uportal.UportalLayoutManager = function(callerSettings) {
		var settings = $.extend({
		    preferencesUrl: 'ajax/preferences',
		    channelListUrl: 'mvc/channelList?xml=true',
		    portalUrl: null,
		    mediaPath: null,
		    currentSkin: null,
		    isFocusMode: false,
		    messages: {}
	    }, callerSettings||{});


		/*
			INTERNAL METHODS
		*/

		// Initialization tasks for non-focused mode
		var initportal = function() {
		
		    settings.columnCount = $("#portalPageBodyColumns [id^=column_]").size(); 
		    if ($("#portalNavigationList li.active").size() > 0) {
			    settings.tabId = $("#portalNavigationList li.active").attr("id").split("_")[1];
		    }
		
			// initialize dialog menus
			$("#contentDialogLink").click(initializeContentAddingMenu);
			$("#layoutDialogLink").click(initializeLayoutMenu);
			$("#skinDialogLink").click(initializeSkinMenu);
		
			// set up the Fluid reorderer to control portlet drag and drop
		    var options = {
		         selectors: {
			        columns: ".portal-page-column-inner",
			        modules: ".up-portlet-wrapper",
			        lockedModules: ".locked",
			        dropWarning: $("#portalDropWarning"),
			        grabHandle: "[id*=toolbar_]"
		         },
		         listeners: {
{'fraction_non_alphanumeric': 0.1450335161486898, 'fraction_numerical': 0.008531383302864107, 'mean_word_length': 2.817441860465116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6894893', 'n_tokens_mistral': 1124, 'n_tokens_neox': 966, 'n_words': 213}