<commit_before>Ext.define('Cetera.fo.Material', {
    extend: 'Ext.Toolbar',
	
	border: false,

	items: [
		{
			iconCls: 'icon-edit',
			text: 'Редактировать материал',
			handler: function(btn) { 
				var me = btn.up('toolbar');
				var w = me.widget;
				if (!w) return;
				
				me.mat_type = w.getAttribute( 'data-type' );
				<commit_msg>FrontOffice bug fix https://pm.cetera.ru/browse/CCD-1027<commit_after>Ext.define('Cetera.fo.Material', {
    extend: 'Ext.Toolbar',
	
	border: false,
	
	style: {
		position: 'absolute'
	},	

	items: [
		{
			iconCls: 'icon-edit',
			text: 'Редактировать материал',
			handler: function(btn) { 
				var me = btn.up('toolbar');
				var w = me.widget;
				if (!w) return;
				
				me.mat_type = w.getAttribute( 'data-type' );
				
{'fraction_non_alphanumeric': 0.16731517509727625, 'fraction_numerical': 0.005188067444876783, 'mean_word_length': 2.8407960199004973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '475717', 'n_tokens_mistral': 361, 'n_tokens_neox': 302, 'n_words': 56}