Przeglądaj źródła

Draggable fixes

Kartik Visweswaran 9 lat temu
rodzic
commit
06deb8f6c8
3 zmienionych plików z 5 dodań i 5 usunięć
  1. 4 4
      README.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 4 - 4
README.md

@@ -54,7 +54,7 @@ You can also manually install the plugin easily to your project. Just download t
 Step 1: Load the following assets in your header. 
 
 ```html
-<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet">
+<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
 <link href="path/to/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
 <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
 <!-- canvas-to-blob.min.js is only needed if you wish to resize images before upload.
@@ -68,9 +68,9 @@ Step 1: Load the following assets in your header.
 <script src="path/to/js/plugins/purify.min.js" type="text/javascript"></script>
 <!-- the main fileinput plugin file -->
 <script src="path/to/js/fileinput.min.js"></script>
-<!-- bootstrap.js below is only needed if you wish to the feature of viewing details
-     of text file preview via modal dialog -->
-<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" type="text/javascript"></script>
+<!-- bootstrap.js below is needed if you wish to zoom and view file content 
+     in a larger detailed modal dialog -->
+<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" type="text/javascript"></script>
 <!-- optionally if you need a theme like font awesome theme you can include 
     it as mentioned below -->
 <script src="path/to/js/themes/fa.js"></script>

+ 1 - 1
js/fileinput.js

@@ -391,7 +391,7 @@
     tActionZoom = '<button type="button" class="kv-file-zoom {zoomClass}" title="{zoomTitle}">{zoomIcon}</button>';
     tActionDrag = '<span class="file-drag-handle {dragClass}" title="{dragTitle}">{dragIcon}</span>';
     tTagBef = '<div class="file-preview-frame{frameClass}" id="{previewId}" data-fileindex="{fileindex}"' +
-        ' data-template="{template}" draggable';
+        ' data-template="{template}"';
     tTagBef1 = tTagBef + '><div class="kv-file-content">\n';
     tTagBef2 = tTagBef + ' title="{caption}" ' + STYLE_SETTING + '><div class="kv-file-content">\n';
     tTagAft = '</div>{footer}\n</div>\n';

Plik diff jest za duży
+ 0 - 0
js/fileinput.min.js


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików