Changeset 2055

Show
Ignore:
Timestamp:
02/11/09 11:10:41
Author:
johnsa
Message:

UI: cleaning up dojo calls.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/resources/javascript/bedework.js

    r1963 r2055  
     1/* Dojo is deprecated; jQuery is in use. 
    12dojo.require("dojo.event.*"); 
    23dojo.require("dojo.widget.*"); 
    34dojo.require("dojo.widget.FloatingPane"); 
    4 dojo.require("dojo.widget.DatePicker"); 
     5dojo.require("dojo.widget.DatePicker");*/ 
    56 
    67function changeClass(id, newClass) { 
     
    89  identity.className=newClass; 
    910} 
    10 function launchExportWidget(formId,action,name,calPath) { 
     11/*function launchExportWidget(formId,action,name,calPath) { 
    1112  var exportWidget = dojo.widget.byId('bwCalendarExportWidget'); 
    1213  exportWidget.show(); 
     
    1516  formObj.contentName.value = name + '.ics'; 
    1617  document.getElementById('bwCalendarExportWidgetCalName').innerHTML = name; 
    17 } 
     18}*/ 
    1819function fillExportFields(formObj) { 
    1920  var startDate = new Date(); 
     
    3031  formObj["eventEndDate.day"].value = endDate.getDate(); 
    3132} 
    32 function hideWidget(id) { 
     33/*function hideWidget(id) { 
    3334  var widget = dojo.widget.byId(id); 
    3435  widget.hide(); 
    35 } 
     36}*/ 
    3637function showLink(urlString) { 
    3738  var linkWindow = window.open("", "linkWindow", "width=1100,height=100,scrollbars=yes,resizable=yes,alwaysRaised=yes,menubar=no,toolbar=no"); 
  • trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedework.js

    r1665 r2055  
    159159} 
    160160// launch a dojo widget used for contextual help 
    161 function launchHelpWidget(id) { 
     161/*function launchHelpWidget(id) { 
    162162  var helpWidget = dojo.widget.byId(id); 
    163163  helpWidget.show(); 
    164 } 
     164}*/ 
    165165// used to update the calendar in various forms from 
    166166// the calSelect pop-up widget.  We must do three things: update the hidden 
  • trunk/deployment/webuser/webapp/resources/demoskins/resources/bedework.js

    r2001 r2055  
    2424    to the maximum extent the law permits. */ 
    2525 
    26 /* NOTE: this file is different between Bedework web applications and is  
     26/* NOTE: this file is different between Bedework web applications and is 
    2727   therefore not currently interchangable between apps.  This will be normalized 
    2828   in the coming versions, but for now don't try to exchange them. */ 
     
    171171} 
    172172// launch a dojo widget used for contextual help 
    173 function launchHelpWidget(id) { 
     173/*function launchHelpWidget(id) { 
    174174  var helpWidget = dojo.widget.byId(id); 
    175175  helpWidget.show(); 
    176 } 
     176}*/ 
    177177// used to update the calendar in various forms from 
    178178// the calSelect pop-up widget.  We must do three things: update the hidden 
  • trunk/deployment/webuser/webapp/resources/demoskins/resources/bedeworkDojo.js

    r1884 r2055  
    11// Bedework Dojo functions 
     2// DEPRECATED 
    23 
    34/* **********************************************************************