fix browser error

This commit is contained in:
azivner 2017-11-16 19:25:27 -05:00
parent 379431eefd
commit c371ffb597

View file

@ -116,7 +116,7 @@ function initAjax() {
$.ajaxSetup({
headers: {
'x-browser-id': browserId,
'x-protected-session-id': protected_session ? protected_session.getProtectedSessionId() : null
'x-protected-session-id': typeof protected_session !== 'undefined' ? protected_session.getProtectedSessionId() : null
}
});
}