Widget:VisitSchedulerRedux: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 105: | Line 105: | ||
if(errorFlag){alert("Visits in red fall out of the 30 day window and infusions may not be scheduled on those dates. For help with this matter, call the AEGIS II Hotline");} | if(errorFlag){alert("Visits in red fall out of the 30 day window and infusions may not be scheduled on those dates. For help with this matter, call the AEGIS II Hotline");} | ||
}; | }; | ||
$("#print").click(function(){ | |||
var newWin = window.open(""); | |||
newWin.document.write($("#appointments").html()); | |||
newWin.print(); | |||
newWin.close(); | |||
)}; | |||
}; | }; | ||
Line 124: | Line 130: | ||
<form action="http://www.wikidoc.org/calendar.php" method="post"> | <form action="http://www.wikidoc.org/calendar.php" method="post"> | ||
<input type="hidden" id="outlookJSON" /> | <input type="hidden" id="outlookJSON" /> | ||
<input type="button" id="print" value="Print" /> | |||
<input type="submit" id="save" value="Save to Outlook" /> | <input type="submit" id="save" value="Save to Outlook" /> | ||
</form> | </form> | ||
</includeonly> | </includeonly> |