Changeset 1792
- Timestamp:
- 03/18/08 13:06:46
- Files:
-
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/resources/javascript/bedework.js (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/resources/javascript/bedework.js (modified) (2 diffs)
- trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/resources/javascript/bedework.js
r1752 r1792 36 36 var linkWindow = window.open("", "linkWindow", "width=1100,height=100,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=no,toolbar=no"); 37 37 linkWindow.document.open(); 38 linkWindow.document.writeln( "<html><head><title>Event Link</title>");38 linkWindow.document.writeln('<html><head><title>Event Link</title>'); 39 39 linkWindow.document.writeln('<style type="text/css">body{padding: 1em; font-size: 12px; font-family: Arial,sans-serif;}th{text-align: left;}td{padding-left: 2em;}</style></head>'); 40 linkWindow.document.writeln("<body><strong>Event Link:</strong><br/>"); 41 linkWindow.document.writeln('<a href="' + urlString + '" onclick="window.resizeTo(875,700)">'); 42 linkWindow.document.writeln(urlString); 43 linkWindow.document.writeln("</a>"); 44 linkWindow.document.writeln("</body></html>"); 40 linkWindow.document.writeln('<body onload="document.getElementById(\'linkField\').select()"><strong>Event Link:</strong><br/>'); 41 linkWindow.document.writeln('<input type="text" value="' + urlString + '" size="170" id="linkField"/>'); 42 linkWindow.document.writeln('</body></html>'); 45 43 linkWindow.document.close(); 46 44 linkWindow.focus(); trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/resources/javascript/bedework.js
r1466 r1792 16 16 document.getElementById('bwCalendarExportWidgetCalName').innerHTML = name; 17 17 } 18 function fillExportFields(form Id) {18 function fillExportFields(formObj) { 19 19 var startDate = new Date(); 20 20 startDate = dojo.widget.byId("bwExportCalendarWidgetStartDate").getDate(); … … 33 33 widget.hide(); 34 34 } 35 35 function showLink(urlString) { 36 var linkWindow = window.open("", "linkWindow", "width=1100,height=100,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=no,toolbar=no"); 37 linkWindow.document.open(); 38 linkWindow.document.writeln('<html><head><title>Event Link</title>'); 39 linkWindow.document.writeln('<style type="text/css">body{padding: 1em; font-size: 12px; font-family: Arial,sans-serif;}th{text-align: left;}td{padding-left: 2em;}</style></head>'); 40 linkWindow.document.writeln('<body onload="document.getElementById(\'linkField\').select()"><strong>Event Link:</strong><br/>'); 41 linkWindow.document.writeln('<input type="text" value="' + urlString + '" size="170" id="linkField"/>'); 42 linkWindow.document.writeln('</body></html>'); 43 linkWindow.document.close(); 44 linkWindow.focus(); 45 } 36 46 /*function init() { 37 var exportWidget = dojo.widget.byId('bwCalendarExportWidget'); 38 exportWidget.hide(); 47 var widget = dojo.widget.byId("bwCalendarExportWidget"); 39 48 } 40 49 trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js
r1725 r1792 284 284 var commentVals = comment.split("\t"); 285 285 formObj["commentLocationAddress"].value = (commentVals[0] == undefined) ? "" : commentVals[0]; 286 formObj["commentLocationSubaddress"].value = (commentVals[ 2] == undefined) ? "" : commentVals[2];286 formObj["commentLocationSubaddress"].value = (commentVals[1] == undefined) ? "" : commentVals[1]; 287 287 formObj["commentLocationURL"].value = (commentVals[2] == undefined) ? "" : commentVals[2]; 288 288 formObj["commentContactName"].value = (commentVals[3] == undefined) ? "" : commentVals[3];
