Index: /trunk/expressoMail1_2/js/draw_api.js
===================================================================
--- /trunk/expressoMail1_2/js/draw_api.js (revision 7603)
+++ /trunk/expressoMail1_2/js/draw_api.js (revision 7610)
@@ -4818,5 +4818,9 @@
$(this).prev().show();
});
- fileUploadMSG.find(".button").button().filter(".fileinput-button").find(".ui-button-text").css("margin-top", "2px").find("input:file").fileupload({
+ fileUploadMSG.find(".fileUploadButton, .message-attach-link").button().filter(".fileUploadButton").click(function(){
+ fileUploadMSG.find("input:file").trigger("click");
+ });
+
+ fileUploadMSG.find("input:file").fileupload({
//singleFileUploads : true,fileUploadMSG
sequentialUploads: true,
@@ -4994,5 +4998,5 @@
});
}*/
- }).css({
+ });/*.css({
"height" : "20px",
"width": (is_webkit ? "205px" : "100px"),
@@ -5000,5 +5004,6 @@
"-moz-transform" : "rotate(-180deg) translate(5px, -0.5px) scale(1.1)",
"-webkit-transform" : "rotate(-180deg) translate(0px, 0px)"
- }).end().end().end().filter(".message-attach-link").click(function(){
+ }).end().end().end().*/
+ fileUploadMSG.find(".message-attach-link").click(function(){
jQuery('#message-attach-dialog').html(DataLayer.render("../prototype/modules/attach_message/attach_message.ejs", {}));
var lastFolderSelected = $('#content_folders .folder.selected');