Skip to content

Commit 3cc2fb5

Browse files
authored
Merge pull request #24259 from abpframework/FeatureSettingGroup/Default.js
Add localization resource for success notification
2 parents bcd1822 + e730711 commit 3cc2fb5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Pages/FeatureManagement/Components/FeatureSettingGroup/Default.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
});
1414

1515
_featuresModal.onResult(function(){
16+
l = abp.localization.getResource("AbpFeatureManagement");
1617
abp.notify.success(l('SavedSuccessfully'));
1718
});
1819
})
1920

20-
})(jQuery);
21+
})(jQuery);

modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Pages/FeatureManagement/feature-management-modal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ var abp = abp || {};
1313
let providerName = $('#ProviderName').val();
1414
let prodiverKey = $('#ProviderKey').val();
1515
volo.abp.featureManagement.features.delete(providerName, prodiverKey).then(function () {
16+
$("#FeatureManagementForm").get(0).reset();
1617
abp.notify.success(l('SavedSuccessfully'));
1718
$('#featureManagmentModal').modal('hide');
1819
});

0 commit comments

Comments
 (0)