Changeset 209 for trunk/web-app/js
- Timestamp:
- Feb 22, 2010, 6:35:37 PM (13 years ago)
- Location:
- trunk/web-app/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/table-editor.js
r172 r209 54 54 $(this.columnIdentifier, $(row)).each(function() { 55 55 var input = $(':input', $(this)); 56 57 56 // does this column contain an input field 57 console.log(input) 58 58 if (input) { 59 59 var type = $(input).attr('type'); 60 console.log(input) 61 console.log('type: '+type) 60 62 61 63 switch (type) { … … 73 75 that.updateSingleInputElements(input, columnNumber, 'select'); 74 76 }) 77 break; 78 case 'hidden': 79 // hidden is hidden :) 75 80 break; 76 81 case null: -
trunk/web-app/js/wizard.js
r204 r209 21 21 var wizard = $('div#wizard') 22 22 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 useuse 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()) 24 24 } 25 25 } … … 35 35 attachHelpTooltips(); 36 36 attachDatePickers(); 37 attachDateTimePickers(); 37 38 38 39 // SUBJECT PAGE … … 126 127 } 127 128 129 // add datetimepickers to date fields 130 function 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 128 143 // attach subject events 129 144 function attachTableEvents() {
Note: See TracChangeset
for help on using the changeset viewer.