|
@@ -7,19 +7,11 @@
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
import './common';
|
|
import './common';
|
|
|
|
|
+import {AjaxReq, fetchHeaders} from "./OMGUtils";
|
|
|
|
|
|
|
|
let CUSTOM_NOTIFY = 0x4000;
|
|
let CUSTOM_NOTIFY = 0x4000;
|
|
|
let REFRESH_FILTERS = CUSTOM_NOTIFY + 1;
|
|
let REFRESH_FILTERS = CUSTOM_NOTIFY + 1;
|
|
|
|
|
|
|
|
-const fetchHeaders = {
|
|
|
|
|
- 'Accept': 'text/html',
|
|
|
|
|
- 'Content-Type': 'text/html',
|
|
|
|
|
- 'X-Requested-With': 'XMLHttpRequest',
|
|
|
|
|
- 'Cache-Control': 'no-cache',
|
|
|
|
|
- 'Pragma': 'no-cache',
|
|
|
|
|
- 'Expires': '0'
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
/* usefull if a blinking text is need, like in MaxMara project, you need to place this code in html:
|
|
/* usefull if a blinking text is need, like in MaxMara project, you need to place this code in html:
|
|
|
*
|
|
*
|
|
|
* <nav class="navbar navbar-collapse p-0">
|
|
* <nav class="navbar navbar-collapse p-0">
|