Browse Source

Add AjaxInit func

Volodymyr Tkach 1 year ago
parent
commit
1db0cf3b2d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      js/ajax.js

+ 5 - 0
js/ajax.js

@@ -403,6 +403,11 @@ ajax.processCheckboxes = function() {
 
 
 ajax.load = function() {
 ajax.load = function() {
 	if(!ajax.loaded) {
 	if(!ajax.loaded) {
+		if(window.AjaxInit !== undefined) {
+			if(typeof window['AjaxInit'] === 'function') {
+				AjaxInit();
+			};
+		};
 		ajax.loaded = true;
 		ajax.loaded = true;
 		ajax.processTags();
 		ajax.processTags();
 		ajax.processForms();
 		ajax.processForms();