X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5dd35dc51c94ec63a25ad17dca4259e7e80e2bc0..ad481d9335cb91f56adfffda3999284f37d37942:/project/templates/explorer/panels/parse_error.html

diff --git a/project/templates/explorer/panels/parse_error.html b/project/templates/explorer/panels/parse_error.html
index ac28fcb9..027e8b43 100644
--- a/project/templates/explorer/panels/parse_error.html
+++ b/project/templates/explorer/panels/parse_error.html
@@ -2,8 +2,17 @@
 <p><b>{{ exception_type }}</b></p>
 <p>{{ exception.message }}</p>
 
+<button id="try-again-button" type="button">Try Again</button>
+
 <script type="text/javascript" charset="utf-8">
 panel_hooks = {
+    load: function() {
+        var self = this;
+
+        $('#try-again-button').click(function() {
+            self.load(self.current_url);
+        });      
+    },
     refresh: function() {
         return true; // error page is static
     },