Применение стилей ConfirmationDialog

getNotificationRefundingMoney: function(fieldName) {
 
				this.showConfirmationDialog(
					`${resources.localizableStrings.DialogNotificationRefundingMoneyWarningTitle} 
					 ${resources.localizableStrings.DialogNotificationRefundingMoneyOfferTitle}
					 ${resources.localizableStrings.DialogNotificationRefundingMoneyTitle}`, 
					function(result) {
						if (result === "transfer") {
							this.loadLookupDisplayValue(fieldName, NrbDirectoryConstants.NrbCaseSubThema.Transfer);
						} else {
							return;
						}
					}, 
					[
						{
							className: 'Terrasoft.Button',
						 	returnCode: 'transfer',
						 	style: 'green',
						 	caption: resources.localizableStrings.ButtonTransferCaption
						},
						{
							className: 'Terrasoft.Button',
							returnCode: 'return',
							style: 'blue',
							caption: resources.localizableStrings.ButtonReturnCaption
						}
					]);
 
				$(".ts-messagebox-box").css({"width": "500px"});
				$(".ts-messagebox-box .ts-messagebox-caption").css({"text-align": "center"});
              	$(".ts-messagebox-box .t-btn-style-blue").css({"float": "right"});
			},
		});

 

Нравится

Поделиться

0 комментариев
Показать все комментарии