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 6fb9414 commit 25b9b7eCopy full SHA for 25b9b7e
js/os2web_cp_service.js
@@ -3,13 +3,12 @@
3
* os2web_cp_service.js
4
*/
5
6
-jQuery(document).ready(function($) {
+(function ($) {
7
+ $(document).ready(function() {
8
// Convert all nonalphanumeric chars to /.
9
$('#views-exposed-form-os2web-cp-service-cp-case-search-panel-pane-1').submit(function() {
10
var value = $('#edit-case-id').val();
11
$('#edit-case-id').val(value.replace(/\W/g, '/'));
- value = $('#edit-doc-id').val();
12
- $('#edit-doc-id').val(value.replace(/\W/g, '/'));
13
});
14
15
$( "a.qtip-this[title]" ).qtip({
@@ -35,5 +34,5 @@ jQuery(document).ready(function($) {
35
34
}
36
37
38
-
39
-});
+ });
+})(jQuery);
0 commit comments