<commit_before>'use strict';

angular.module('arachne.controllers')

/**
 * Handles the layout for viewing and editing a catalog.
 *
 * @author: <NAME>
 */
.controller('CatalogController', ['$rootScope', '$scope', '$state', '$stateParams', '$uibModal', 'Catalog', 'CatalogEntry', 'authService', '$http', 'arachneSettings', 'Entity', '$location', 'message',
	function ($rootScope, $scope, $state, $stateParams, $uibModal, Catalog, CatalogEntry, authService, $http, arachneSettings, Entity, $location, message) {

		$rootScope.hideFooter = true;
		$scope.entryMap = {};
		$scope.catalogId = $stateParams.id;
		$scope.childrenLimit = 10;<commit_msg>fixed drag&drop issue in catalog editor<commit_after>'use strict';

angular.module('arachne.controllers')

/**
 * Handles the layout for viewing and editing a catalog.
 *
 * @author: <NAME>
 */
.controller('CatalogController', ['$rootScope', '$scope', '$state', '$stateParams', '$uibModal', 'Catalog', 'CatalogEntry', 'authService', '$http', 'arachneSettings', 'Entity', '$location', 'message',
	function ($rootScope, $scope, $state, $stateParams, $uibModal, Catalog, CatalogEntry, authService, $http, arachneSettings, Entity, $location, message) {

		$rootScope.hideFooter = true;
		$scope.entryMap = {};
		$scope.catalogId = $stateParams.id;
		$scope.childrenLimit = 10;
		$scope.editable = false;
{'fraction_non_alphanumeric': 0.18066914498141265, 'fraction_numerical': 0.002973977695167286, 'mean_word_length': 6.315217391304348, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7536472', 'n_tokens_mistral': 435, 'n_tokens_neox': 420, 'n_words': 104}