fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12002] property: start email-client from IE


From: Sigurd Nes
Subject: [Fmsystem-commits] [12002] property: start email-client from IE
Date: Tue, 03 Jun 2014 13:20:25 +0000

Revision: 12002
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12002
Author:   sigurdne
Date:     2014-06-03 13:20:25 +0000 (Tue, 03 Jun 2014)
Log Message:
-----------
property: start email-client from IE

Modified Paths:
--------------
    trunk/property/js/portico/ajax_invoice.js

Modified: trunk/property/js/portico/ajax_invoice.js
===================================================================
--- trunk/property/js/portico/ajax_invoice.js   2014-06-03 11:47:42 UTC (rev 
12001)
+++ trunk/property/js/portico/ajax_invoice.js   2014-06-03 13:20:25 UTC (rev 
12002)
@@ -610,9 +610,8 @@
                                var Url_email = email_base_url + '&voucher_id=' 
+ voucher[0].voucher_id;
 
                                var email_buttons = "<input type=\"button\" 
name=\"Kopier til utklippstavle\" onClick=\"copyToClipboard('"+Url_email+"');\" 
value=\"Kopier til utklippstavle\" title=\"Kopier til utklippstavle\">";
-                               email_buttons += "<a 
href=\"mailto:?&subject=Link til faktura\" target=\"_\"><input type=\"button\" 
value=\"Åpne epost\"/></a>";
+                               email_buttons += "<input type=\"button\" 
value=\"Åpne epost\" onClick=\"javascript:location.href = 'mailto:?subject=Link 
til faktura&body=Lim inn linken her...';\" />";
                                $("#email_link").html(email_buttons);
-
                        }
                        else
                        {
@@ -722,4 +721,4 @@
   window.prompt("Kopier til utklippstavle: Ctrl+C, Enter", text);
  // window.open("mailto:?&subject=Link til faktura");
  // window.close();
-}
\ No newline at end of file
+}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]