X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/85ae208c067a898b80675c12e133968062737d72..320fd24b68185b73f1180c425271e037331baa46:/project/templates/explorer/panels/parse_error.html?ds=sidebyside

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
     },