changeset 2698:2f3301de742f

Added automatic refreshing of page when new theme is selected
author Ajitesh Gupta <ajgupta93@gmail.com>
date Thu, 07 Aug 2014 19:53:15 +0530
parents 1ad43540cc48
children 3bc9fd6d054e
files MoinMoin/static/js/common.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/js/common.js	Thu Aug 07 19:42:41 2014 +0530
+++ b/MoinMoin/static/js/common.js	Thu Aug 07 19:53:15 2014 +0530
@@ -392,6 +392,7 @@
             newform.data('initialForm', newform.serialize());
             // replace the old form with the new one
             form.replaceWith(newform);
+            location.reload(true);
         }, 'json');
         return false;
     }