| Line 11... |
Line 11... |
| 11 |
},
|
11 |
},
|
| 12 |
resetForm: function() {
|
12 |
resetForm: function() {
|
| 13 |
$('#communication_category').val("-1");
|
13 |
$('#communication_category').val("-1");
|
| 14 |
$('#orderComponent, #awbComponent, #productComponent, #subjectComponent, #msgComponent').hide();
|
14 |
$('#orderComponent, #awbComponent, #productComponent, #subjectComponent, #msgComponent').hide();
|
| 15 |
this.resetProductSelector();
|
15 |
this.resetProductSelector();
|
| - |
|
16 |
$('label.error').remove();
|
| 16 |
$('#submit').attr('disabled', 'disabled');
|
17 |
$('#submit').attr('disabled', 'disabled');
|
| 17 |
$('#resetFormButton').attr('disabled', 'disabled');
|
18 |
$('#resetFormButton').attr('disabled', 'disabled');
|
| 18 |
},
|
19 |
},
|
| 19 |
activateResetButton: function() {
|
20 |
activateResetButton: function() {
|
| 20 |
$('#resetFormButton').removeAttr('disabled');
|
21 |
$('#resetFormButton').removeAttr('disabled');
|
| Line 60... |
Line 61... |
| 60 |
$('#communication_category').change(function(){
|
61 |
$('#communication_category').change(function(){
|
| 61 |
$('#orderComponent, #awbComponent, #productComponent, #subjectComponent, #msgComponent').hide();
|
62 |
$('#orderComponent, #awbComponent, #productComponent, #subjectComponent, #msgComponent').hide();
|
| 62 |
$('#frmContactUs input[name="submit"]').removeAttr('disabled');
|
63 |
$('#frmContactUs input[name="submit"]').removeAttr('disabled');
|
| 63 |
utils.resetProductSelector();
|
64 |
utils.resetProductSelector();
|
| 64 |
utils.activateResetButton();
|
65 |
utils.activateResetButton();
|
| - |
|
66 |
$('label.error').remove();
|
| 65 |
|
67 |
|
| 66 |
switch(parseInt($(this).val())) {
|
68 |
switch(parseInt($(this).val())) {
|
| 67 |
|
69 |
|
| 68 |
case 1:
|
70 |
case 1:
|
| 69 |
$('#orderComponent, #productComponent, #subjectComponent, #msgComponent').show();
|
71 |
$('#orderComponent, #productComponent, #subjectComponent, #msgComponent').show();
|