We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2126bd5 commit 0af082aCopy full SHA for 0af082a
js/os2web_cp_service.js
@@ -12,6 +12,12 @@
12
var value = $('#edit-case-id').val();
13
$('#edit-case-id').val(value.replace(/\W/g, '/'));
14
}
15
+
16
+ // Reset dates if case id is entered.
17
+ if($('#edit-case-id').val() || /^\d{2}\/\d/.test($('#edit-search-text').val())) {
18
+ $('#edit-field-os2web-cp-service-date-from-value-datepicker-popup-0').val('');
19
+ $('#edit-field-os2web-cp-service-date-to-value-datepicker-popup-0').val('');
20
+ }
21
});
22
23
$( "a.qtip-this[title]" ).qtip({
0 commit comments