Ignore:
Timestamp:
Mar 16, 2015 5:23:29 PM (10 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/www/deploy/20150304/assets
Files:
5 added
2 edited

Legend:

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

    r780 r782  
     1
    12/*
    23 * jQuery File Upload Plugin 5.26
     
    8182            // Set the following option to true to force iframe transport uploads:
    8283            forceIframeTransport: false,
    83             // Set the following option to the location of a redirect url on the
     84            // Set the following option to the location of a redirect . on the
    8485            // origin server, for cross-domain iframe transport uploads:
    8586            redirect: undefined,
     
    704705            }
    705706            options.result = result;
     707            options.result2 = result;
    706708            options.textStatus = textStatus;
    707709            options.jqXHR = jqXHR;
  • pro-violet-viettel/www/deploy/20150304/assets/js/manager.js

    r781 r782  
    454454                    var content="";
    455455                    $ext=node.fileurl.split('.').pop();
    456                     if ($ext == 'jpg')
    457                     {
     456                    if($.inArray( $ext, [ "jpg", "jpeg","png","gif"])>=0)
     457                   {
    458458                        content="<img style='width:100%' src='"+node.fileurl+"' /><br />"+node.name;
    459459                        bootbox.alert(content);
     
    488488                        bootbox.alert(content);
    489489                    }
    490                     if($.inArray( $ext, [ "xls","ppt","doc","docs","pdf"])>=0)
     490                    if($.inArray( $ext, [ "xls","ppt","doc","docs","pdf","txt"])>=0)
    491491                   {
    492492                        content='<iframe src="http://docs.google.com/gview?url='+node.fileurl+'&embedded=true" style="width:100%; height:400px;" frameborder="0"></iframe>'+node.name;
Note: See TracChangeset for help on using the changeset viewer.