Changeset 2966
- Timestamp:
- 08/06/10 00:55:08
- Files:
-
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7 (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/bedeworkJquery.css (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-anim_basic_16x16.gif (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_flat_0_aaaaaa_40x100.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_glass_55_fbf9ee_1x400.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_glass_65_ffffff_1x400.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_glass_75_dadada_1x400.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_glass_75_e6e6e6_1x400.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_glass_75_ffffff_1x400.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_highlight-soft_75_cccccc_1x100.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-bg_inset-soft_95_fef1ec_1x100.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-icons_222222_256x240.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-icons_2e83ff_256x240.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-icons_454545_256x240.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-icons_888888_256x240.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/images/ui-icons_cd0a0a_256x240.png (added)
- trunk/deployment/resources/javascript/jquery/css/bw-theme-3p7/jquery-ui-1.8.2.custom.css (added)
- trunk/deployment/resources/javascript/jquery/index.html (added)
- trunk/deployment/resources/javascript/jquery/jquery-1.4.2.min.js (added)
- trunk/deployment/resources/javascript/jquery/jquery-ui-1.8.2.custom.min.js (added)
- trunk/deployment/resources/javascript/jquery/readme.txt (added)
- trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/head.xsl (modified) (2 diffs)
- trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/head.xsl
r2964 r2966 43 43 <!-- note: the non-breaking spaces in the script bodies below are to avoid 44 44 losing the script closing tags (which avoids browser problems) --> 45 <!-- 45 46 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.3.2.min.js"> </script> 46 47 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.7.1.custom.min.js"> </script> 47 48 <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/jquery-ui-1.7.1.custom.css"/> 48 <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/bedeworkJquery.css"/> 49 <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/custom-theme/bedeworkJquery.css"/> 50 --> 51 52 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.4.2.min.js"> </script> 53 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.8.2.custom.min.js"> </script> 54 <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/bw-theme-3p7/jquery-ui-1.8.2.custom.css"/> 55 <link rel="stylesheet" href="/bedework-common/javascript/jquery/css/bw-theme-3p7/bedeworkJquery.css"/> 56 57 49 58 <!-- load bedework personal client javascript libraries --> 50 59 <script type="text/javascript" src="{$resourcesRoot}/javascript/bedework.js"> </script> … … 161 170 <script type="text/javascript" src="{$resourcesRoot}/javascript/bedeworkScheduling.js"> </script> 162 171 <link rel="stylesheet" href="{$resourcesRoot}/css/bwScheduling.css"/> 163 172 <!-- 164 173 <script type="text/javascript" src="/bedework-common/javascript/jquery/autocomplete/bw-jquery.autocomplete.js"> </script> 165 174 <script type="text/javascript" src="/bedework-common/javascript/jquery/autocomplete/jquery.bgiframe.min.js"> </script> 166 175 <script type="text/javascript" src="{$resourcesRoot}/javascript/bedeworkAttendees.js"> </script> 167 176 <link rel="stylesheet" type="text/css" href="/bedework-common/javascript/jquery/autocomplete/jquery.autocomplete.css" /> 168 177 --> 169 178 <script type="text/javascript" src="/bedework-common/javascript/bedework/bedeworkAccess.js"> </script> 170 179 <link rel="stylesheet" href="/bedework-common/default/default/bedeworkAccess.css"/> trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/javascript/bedeworkScheduling.js
r2964 r2966 1055 1055 ); 1056 1056 1057 // auto-completion for add attendee input field 1057 // auto-completion for add attendee input field - DEPRECATED 1058 1058 // carddavUrl supplied in bedework.js 1059 var carddavUrlTemp = "/ucalrsrc/themes/bedeworkTheme/javascript/addrbookUsers.js" 1060 //var carddavUrlTemp = "/ucalrsrc/themes/bedeworkTheme/javascript/addrbookLocations.js" 1061 $("#bwScheduleTable #bwAddAttendee").autocomplete(carddavUrl, bwAutoCompleteOptions); 1059 // var carddavUrlTemp = "/ucalrsrc/themes/bedeworkTheme/javascript/addrbookUsers.js" 1060 // var carddavUrlTemp = "/ucalrsrc/themes/bedeworkTheme/javascript/addrbookLocations.js" 1061 //$("#bwScheduleTable #bwAddAttendee").autocomplete(carddavUrl, bwAutoCompleteOptions); 1062 1063 // below is the newer jquery UI autocomplete 1064 $("#bwScheduleTable #bwAddAttendee").autocomplete({ 1065 minLength: 1, 1066 // set the data source, call it, and format the results: 1067 source: function(req, include) { 1068 // build the address book url; the path to the addressbook is determined by the 1069 // radio button choices in the "add attendee" widget 1070 addrBookUrl = carddavUrl + "?format=json&addrbook=" + $("#bwCardDavBookPath").val(); 1071 1072 // call the server and format the results into an array "items" 1073 $.getJSON(addrBookUrl, req, function(data) { 1074 var acResults = data.microformats.vcard; 1075 var items = []; 1076 $.each(acResults, function(i,entry) { 1077 var curlabel = entry.fn.value + ", " + entry.email[0].value; 1078 var cururi = ""; 1079 if (entry.caladruri != undefined && entry.caladruri.value != undefined) { 1080 cururi = entry.caladruri.value; 1081 } 1082 if (cururi == "" && entry.email != undefined && entry.email[0] != undefined && entry.email[0].value != undefined) { 1083 var curEmail = entry.email[0].value; 1084 if (curEmail != "") { 1085 cururi = "mailto:" + curEmail; 1086 } 1087 } 1088 if (cururi != "") { 1089 var curItem = {label: curlabel, value: cururi}; 1090 items.push(curItem); 1091 } 1092 }); 1093 1094 // pass items to the callback function for display in the autocomplete pulldown 1095 include(items); 1096 }); 1097 } 1098 }); 1062 1099 1063 1100 // capture the enter key when entering an attendee;
