|
|
@@ -49,10 +49,10 @@ BxPaymentSubscriptions.prototype.cancel = function(oLink, iId, sGrid) {
|
|
|
|
|
|
var oParams = {};
|
|
|
if(sGrid != undefined)
|
|
|
- oParams.grid = sGrid;
|
|
|
+ oParams.grid = sGrid;
|
|
|
|
|
|
- bx_confirm('', function() {
|
|
|
- $this._performRequest(oLink, iId, 'subscription_cancel', oParams);
|
|
|
+ bx_confirm(_t('_bx_payment_msg_confirm_cancelation'), function() {
|
|
|
+ $this._performRequest(oLink, iId, 'subscription_cancel', oParams);
|
|
|
});
|
|
|
};
|
|
|
|