fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix
[redakcja.git]
/
project
/
static
/
js
/
views
/
html.js
diff --git
a/project/static/js/views/html.js
b/project/static/js/views/html.js
index
058b019
..
a7f02dd
100644
(file)
--- a/
project/static/js/views/html.js
+++ b/
project/static/js/views/html.js
@@
-31,9
+31,15
@@
var HTMLView = View.extend({
this.freeze('Ładowanie...');
} else if (value == 'saving') {
this.freeze('Zapisywanie...');
this.freeze('Ładowanie...');
} else if (value == 'saving') {
this.freeze('Zapisywanie...');
+ } else if (value == 'error') {
+ this.freeze(this.model.get('error'));
}
},
}
},
+ reload: function() {
+ this.model.load(true);
+ },
+
dispose: function() {
this.model.removeObserver(this);
this._super();
dispose: function() {
this.model.removeObserver(this);
this._super();