Usuń nieużywany kod edytora CKEditor dla klauzul w podglądzie pracodawcy

This commit is contained in:
2025-05-30 13:21:28 +02:00
parent 20fe41681f
commit c2a11763fc

View File

@@ -302,34 +302,6 @@ echo $grid -> draw();
height:'350'
});
var editor = $( '#clauses' ).ckeditor().editor;
editor.on( 'blur', function( evt ) {
var text = evt.editor.getData();
$.ajax(
{
type: 'POST',
cache: false,
url: '/admin/globelus/save_to_db/',
data:
{
table: 'globelus_firms_data',
column_id: 'user_id',
row_id: '<?= $this -> firm['id'];?>',
column: 'clauses',
operation: 'update',
value: text
},
beforeSend: function()
{
},
success: function( data )
{
}
});
});
var editor = $('#other_information').ckeditorGet();
editor.on( 'blur', function( evt ) {
var text = evt.editor.getData();