Вход Регистрация
Файл: Luxe-Shop v6.0/templates/admin/js/ckeditor.js
Строк: 39
<?php
ckeditor
.init({
        
selector: "textarea.ckeditor",
        
plugins: [
            
"advlist autolink lists link image charmap print preview anchor",
            
"searchreplace visualblocks code fullscreen",
            
"insertdatetime media table contextmenu paste"
        
],
        
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
    
});
    
    $(
document).ready(function() {
    var 
fixHelper = function(e, ui) {
        
ui.children().each(function() {
            $(
this).width($(this).width());
        });
        return 
ui;
    };
    $( 
".tblsort tbody" ).sortable({
        
helper: fixHelper,
        
opacity: 0.8, 
        
cursor: 'move', 
        
tolerance: 'pointer',  
        
items:'tr',
        
placeholder: 'state', 
        
forcePlaceholderSize: true,
        
update: function(event, ui){
            $.
ajax({
                
url: "/admin/goods/chg_order_ajax",
                
type: 'POST',
                
data: $(this).sortable("serialize"), 
            });
//-------------------------------                                
            
}
                
        });

        $( 
".tblsort tbody" ).disableSelection();
    });
?>
Онлайн: 0
Реклама