' }); setTimeout(function(){successPopup.show()}, 100); }; window.BXReady.Market.formRefresh = function (formId) { window.BXReady.showAjaxShadow("#ajaxFormContainer_" + formId,"ajaxFormContainerShadow" + formId); BX.ajax.submit(BX("iblockForm" + formId),function(data){ window.BXReady.closeAjaxShadow("ajaxFormContainerShadow" + formId); data = data.replace(/]+>/gi, '');//strip_tags data.substr(0,7); if(data.substr(0,7) === 'success') { window.BXReady.Market.showFormSuccess(formId,data); return false; } BX('ajaxFormContainer_' + formId).innerHTML = data; }); return false; }; // window.BXReady.Market.getFormPopupButtons = function (formId) { // return [ // new BX.PopupWindowButton({ // text: "//" , // className: "popup-window-button-accept" // }), // new BX.PopupWindowButton({ // text: "//" , // className: "webform-button-link-cancel" , // events: {click: function(){ // this.popupWindow.close(); // }} // }) // ]; // }; });
Каталог товаров

Каталог