PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
settings
define([], function() { return function($scope, communication, $dialog) { $scope.cancelSubscription = function(subscription_id) { $dialog.confirm ({ title:window.t('LBL_SUBSCRIPTION_CANCEL_CONFIRM_TITLE'), message:window.t('LBL_SUBSCRIPTION_CANCEL_CONFIRM_MESSAGE'), }).result.then(function(code) { if(code==1) { communication.api('cancelSubscription',{id:subscription_id},'settings.billing').then(function() { location.reload(); }); } }); } } });
[+]
..
[-] domain.js
[edit]
[-] contributor.js
[edit]
[-] code_injection.js
[edit]
[-] billing.js
[edit]
[-] general.js
[edit]