Last active
December 5, 2021 22:45
-
-
Save devoltt/a9b2a4cc44286d2677aaa0de6132d1fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Код помещается в консоль браузера для отладки кастомных JS событий битрикс. | |
*/ | |
BX.onCustomEvent = function(eventObject, eventName, arEventParams, secureParams) { | |
var result = { | |
'eventObject': eventObject, | |
'eventName': eventName, | |
'arEventParams': arEventParams, | |
'secureParams': secureParams | |
}; | |
console.log(result); | |
}; | |
/** | |
* Событие обновление грида | |
*/ | |
BX.addCustomEvent(window, 'BX.Main.grid:paramsUpdated', function(){ | |
var extension = new BX.Intervolga.Galvent.LeadFormExt(); | |
extension.setHandlers(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment