Skip to content

Instantly share code, notes, and snippets.

@steamraven
Created June 6, 2011 15:17
Show Gist options
  • Save steamraven/1010452 to your computer and use it in GitHub Desktop.
Save steamraven/1010452 to your computer and use it in GitHub Desktop.
FileZ: Share button after upload
diff --git a/resources/js/filez.js b/resources/js/filez.js
index f0de9db..7ec38eb 100755
--- a/resources/js/filez.js
+++ b/resources/js/filez.js
@@ -330,6 +330,8 @@ var appendFile = function (html) {
'<li class="file '+cssClass+'" style="display: none;">'+html+'</li>'
);
files.children ('li:first').slideDown (500);
+ files = $(settings.fileList);
+ files.children ('li:first').initFileActions();
};
var reloadUploadForm = function () {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment