Changeset 791


Ignore:
Timestamp:
Mar 18, 2015 4:00:49 PM (10 years ago)
Author:
quyenla
Message:

preview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/www/deploy/20150304/assets/js/manager.js

    r788 r791  
    490490                    if($.inArray( $ext, ["ppt","xls","doc","pdf","docx","pptx","xlsx"])>=0)
    491491                   {
     492                        content=node.name+'<br /><div id="preview"></div>'
    492493                       
     494                        bootbox.alert(content);
    493495                            $.ajax({
    494496                            url: o.host+"preview/getPreview",
     
    497499                            success: function(data, textStatus, jqXHR)
    498500                            {
    499                                 content='<div id="preview">'+data+'</div>';
    500                        
    501                                 bootbox.alert(content);
     501                                $("#preview").html(data);
     502                                setTimeout(function(){
     503                                    $("#slides").slidesjs({
     504                                  width: 500,
     505                                 
     506                                  navigation: false,
     507                                });
     508                                },500);
     509                               
     510   
    502511                            }
    503512                            ,
Note: See TracChangeset for help on using the changeset viewer.