/** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup Payment Payment * @ingroup UnaModules * * @{ */ function BxPaymentMain() {} BxPaymentMain.prototype.loadingInButton = function(e, bShow) { if($(e).length) bx_loading_btn($(e), bShow); else bx_loading($('body'), bShow); }; BxPaymentMain.prototype.loadingInPopup = function(e, bShow) { var oParent = $(e).length ? $(e).parents('.bx-popup-content:first') : $('body'); bx_loading(oParent, bShow); }; /** @} */