Usuń nieużywany kod edytora CKEditor dla klauzul w podglądzie pracodawcy
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user