fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie PanelContainerView oraz postawy HTMLView i XMLView.
[redakcja.git]
/
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
ac28fcb
..
027e8b4
100644
(file)
--- 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>
<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 = {
<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
},
refresh: function() {
return true; // error page is static
},