Skip to content

Commit ce87f51

Browse files
authored
Update JavaScript.js
1 parent 35a94d6 commit ce87f51

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

JavaScript.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ var makeBasicAuthHeader = function(username, password) {
77

88
//Set's default authorization header for all jQuery AJAX requests
99
$.ajaxSetup({
10-
headers: { 'Authorization': makeBasicAuthHeader('username', 'password') }
10+
headers: { 'Authorization': makeBasicAuthHeader('username', 'password') },
11+
crossDomain: true
1112
});
1213

1314
//Gets the list of unanswered tickets for the authenticated user

0 commit comments

Comments
 (0)