Skip to content

Commit 25b9b7e

Browse files
committed
Fixes some IE problems
1 parent 6fb9414 commit 25b9b7e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

js/os2web_cp_service.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
* os2web_cp_service.js
44
*/
55

6-
jQuery(document).ready(function($) {
6+
(function ($) {
7+
$(document).ready(function() {
78
// Convert all nonalphanumeric chars to /.
89
$('#views-exposed-form-os2web-cp-service-cp-case-search-panel-pane-1').submit(function() {
910
var value = $('#edit-case-id').val();
1011
$('#edit-case-id').val(value.replace(/\W/g, '/'));
11-
value = $('#edit-doc-id').val();
12-
$('#edit-doc-id').val(value.replace(/\W/g, '/'));
1312
});
1413

1514
$( "a.qtip-this[title]" ).qtip({
@@ -35,5 +34,5 @@ jQuery(document).ready(function($) {
3534
}
3635
}
3736
});
38-
39-
});
37+
});
38+
})(jQuery);

0 commit comments

Comments
 (0)