Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
info [2015/04/18 08:11]
hess [Contact]
info [2015/04/18 08:32] (current)
hess [Contact]
Line 6: Line 6:
   function tasks(task) {   function tasks(task) {
     $("​.result"​).html("​Processing,​ please wait..."​);​     $("​.result"​).html("​Processing,​ please wait..."​);​
-    var message = $("#​message"​).val() + "\n Articles: \n" + $("#​article-list"​).text() + "\n Address: \n" + $("#​address"​).val();​+    var message = $("#​message"​).val() + "\n Articles: \n" + $("#​article-list"​).text() + "\n E-mail: \n" + $("#​replyTo"​).val() + "\n Address: \n" + $("#​address"​).val();​
     var subject = $("#​subject option:​selected"​).text()     var subject = $("#​subject option:​selected"​).text()
     var recipient = '​sales@netmodule.com';​     var recipient = '​sales@netmodule.com';​
Line 13: Line 13:
       recipient = '​orders@netmodule.com';​       recipient = '​orders@netmodule.com';​
     }     }
-    alert(recipient,​ replyTo, subject, message); 
-    /* 
     $.get("/​lib/​tpl/​netmodule/​tasks.php",​ { task: task, subject: subject, message: message, recipient: recipient, replyTo: replyTo }, function( data ) {     $.get("/​lib/​tpl/​netmodule/​tasks.php",​ { task: task, subject: subject, message: message, recipient: recipient, replyTo: replyTo }, function( data ) {
       $( "​.result"​ ).html("​The message has been sent. We will get back to you as soon as possible."​);​       $( "​.result"​ ).html("​The message has been sent. We will get back to you as soon as possible."​);​
     });     });
-    */ 
   }   }
   function update() {   function update() {
Line 45: Line 42:
   <tr>   <tr>
     <​td>​Articles:</​td>​     <​td>​Articles:</​td>​
-    <​td><​p id='​article-list'>​Select articles below <​br/>​(amount for quotations/​orders,​ ? for questions)</​p></​td>​+    <​td><​p id='​article-list'>​Select articles below</​p></​td>​
   </tr>   </tr>
   <tr>   <tr>