Changeset 782 for pro-violet-viettel/www/deploy/20150304/assets
- Timestamp:
- Mar 16, 2015 5:23:29 PM (10 years ago)
- 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 1 2 /* 2 3 * jQuery File Upload Plugin 5.26 … … 81 82 // Set the following option to true to force iframe transport uploads: 82 83 forceIframeTransport: false, 83 // Set the following option to the location of a redirect urlon the84 // Set the following option to the location of a redirect . on the 84 85 // origin server, for cross-domain iframe transport uploads: 85 86 redirect: undefined, … … 704 705 } 705 706 options.result = result; 707 options.result2 = result; 706 708 options.textStatus = textStatus; 707 709 options.jqXHR = jqXHR; -
pro-violet-viettel/www/deploy/20150304/assets/js/manager.js
r781 r782 454 454 var content=""; 455 455 $ext=node.fileurl.split('.').pop(); 456 if ($ext == 'jpg')457 456 if($.inArray( $ext, [ "jpg", "jpeg","png","gif"])>=0) 457 { 458 458 content="<img style='width:100%' src='"+node.fileurl+"' /><br />"+node.name; 459 459 bootbox.alert(content); … … 488 488 bootbox.alert(content); 489 489 } 490 if($.inArray( $ext, [ "xls","ppt","doc","docs","pdf" ])>=0)490 if($.inArray( $ext, [ "xls","ppt","doc","docs","pdf","txt"])>=0) 491 491 { 492 492 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.