- gitlist.git
- src
- browser
- js
- global
- ajax.js
This file ( 490B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
window.gitlist.ajaxErrorHandler = (e) => {
if (e.hasOwnProperty('status') && e.status !== 200 && typeof e.status !== 'string') {
$.snackbar({
htmlAllowed: true,
content: e.statusText,
timeout: window.gitlist.snapckbarLongTimeout,
})
} else {
$.snackbar({
htmlAllowed: true,
content: e.message,
timeout: window.gitlist.snapckbarLongTimeout,
})
}
console.error(e);
}