From c2a11763fc8cef6d8089c2b80e0490beda120382 Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Fri, 30 May 2025 13:21:28 +0200 Subject: [PATCH] =?UTF-8?q?Usu=C5=84=20nieu=C5=BCywany=20kod=20edytora=20C?= =?UTF-8?q?KEditor=20dla=20klauzul=20w=20podgl=C4=85dzie=20pracodawcy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/globelus-firms/firm-preview.php | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/admin/templates/globelus-firms/firm-preview.php b/admin/templates/globelus-firms/firm-preview.php index 91f2f9f..5bc179d 100644 --- a/admin/templates/globelus-firms/firm-preview.php +++ b/admin/templates/globelus-firms/firm-preview.php @@ -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: ' 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();