luci-mod-admin-full: fix uci revert success message
authorJo-Philipp Wich <jo@mein.io>
Mon, 2 Jul 2018 07:43:05 +0000 (09:43 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 2 Jul 2018 07:43:08 +0000 (09:43 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/view/admin_uci/revert.htm

index dff53420aad919abc89bbc646c507b1f8b589da5..ff23d568dcb35f7da1996d9eba8e522379f95591 100644 (file)
@@ -27,7 +27,7 @@
 <div class="alert-message" id="cbi_apply_status" style="display:none"></div>
 <script type="text/javascript">
        document.addEventListener("DOMContentLoaded", function() {
-               uci_apply(true);
+               uci_revert();
        });
 </script>