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();