Created
May 17, 2011 20:52
-
-
Save steamraven/977366 to your computer and use it in GitHub Desktop.
filez email js patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/resources/js/filez.js b/resources/js/filez.js | |
index 0d1a770..f7d9739 100755 | |
--- a/resources/js/filez.js | |
+++ b/resources/js/filez.js | |
@@ -112,7 +112,7 @@ $.fn.initFileActions = function () { | |
e.preventDefault (); | |
$('#share-modal').dialog ('close'); | |
- $('form', modal).attr ('action', $(this).attr ('href')); | |
+ $('form', $('#email-modal')).attr ('action', $(this).attr ('href')) | |
$('.open-email-client') | |
.attr ('href', 'mailto:?body='+settings.messages.emailMessage+' | |
.click (function (e) { $('.ui-dialog-content').dialog('close'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment