Commit 9b0ad4e6 authored by gdlcf88's avatar gdlcf88

Fix clear cache modal.

parent 2e180294
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<abp-form-content /> <abp-form-content />
</abp-modal-body> </abp-modal-body>
<abp-modal-footer> <abp-modal-footer>
<abp-button data-dismiss="modal" button-type="Secondary">@L["ClearAllCache"].Value</abp-button> <abp-button data-dismiss="modal" button-type="Secondary">@L["Close"].Value</abp-button>
<abp-button type="submit" button-type="Danger" busy-text="@L["ClearAllCache"].Value">@L["ClearAllCache"].Value</abp-button> <abp-button type="submit" button-type="Danger" busy-text="@L["ClearAllCache"].Value">@L["ClearAllCache"].Value</abp-button>
</abp-modal-footer> </abp-modal-footer>
</abp-modal> </abp-modal>
......
...@@ -68,7 +68,8 @@ $(function () { ...@@ -68,7 +68,8 @@ $(function () {
dataTable.ajax.reload(); dataTable.ajax.reload();
}); });
clearCacheModal.onResult(function () { clearCacheModal.onResult(function (e) {
abp.notify.info(l('SuccessCleared'));
dataTable.ajax.reload(); dataTable.ajax.reload();
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment