Changeset 209 for trunk/web-app


Ignore:
Timestamp:
Feb 22, 2010, 6:35:37 PM (11 years ago)
Author:
duh
Message:
  • added events, eventDescriptions, etc
Location:
trunk/web-app
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/css/wizard.css

    r204 r209  
    140140    font-size: 11px;
    141141    overflow: hidden;
     142    white-space: nowrap;
    142143}
    143144
  • trunk/web-app/js/table-editor.js

    r172 r209  
    5454        $(this.columnIdentifier, $(row)).each(function() {
    5555            var input = $(':input', $(this));
    56 
    5756            // does this column contain an input field
     57console.log(input)
    5858            if (input) {
    5959                var type = $(input).attr('type');
     60console.log(input)
     61console.log('type: '+type)
    6062
    6163                switch (type) {
     
    7375                            that.updateSingleInputElements(input, columnNumber, 'select');
    7476                        })
     77                        break;
     78                    case 'hidden':
     79                        // hidden is hidden :)
    7580                        break;
    7681                    case null:
  • trunk/web-app/js/wizard.js

    r204 r209  
    2121        var wizard = $('div#wizard')
    2222        if (wizard.find("#warning").length == 0) {
    23             wizard.html('<span id="warning" style="color:red;font-size:8px;">Firefox 3.6 contains <a href="http://code.google.com/p/fbug/issues/detail?id=2746" target="_new">a bug</a> in combination with Firebug\'s XMLHttpRequest spy which causes the wizard to not function anymore. Please make sure you have firebug\'s XMLHttpRequest spy disabled use use Firefox 3.5.7 instead...</span>' + wizard.html())
     23            wizard.html('<span id="warning" style="color:red;font-size:8px;">Firefox 3.6 contains <a href="http://code.google.com/p/fbug/issues/detail?id=2746" target="_new">a bug</a> in combination with Firebug\'s XMLHttpRequest spy which causes the wizard to not function anymore. Please make sure you have Firebug\'s XMLHttpRequest spy disabled or use Firefox 3.5.7 instead...</span>' + wizard.html())
    2424        }
    2525    }
     
    3535    attachHelpTooltips();
    3636    attachDatePickers();
     37    attachDateTimePickers();
    3738
    3839    // SUBJECT PAGE
     
    126127}
    127128
     129// add datetimepickers to date fields
     130function attachDateTimePickers() {
     131    $('div#wizard').find("input[type=text][name$='Time']").each(function() {
     132        $(this).datepicker({
     133            dateFormat      : 'dd/mm/yy',
     134            altField        : '#' + $(this).attr('name') + 'Example',
     135            altTimeField    : '#' + $(this).attr('name') + 'Example2',
     136            altFormat       : 'DD, d MM, yy',
     137            showTime        : true,
     138            time24h         : true
     139        });
     140    })
     141}
     142
    128143// attach subject events
    129144function attachTableEvents() {
Note: See TracChangeset for help on using the changeset viewer.