fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie flash messages.
[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
..
3d803fc
100644
(file)
--- a/
project/static/js/views/html.js
+++ b/
project/static/js/views/html.js
@@
-24,13
+24,13
@@
var HTMLView = View.extend({
modelStateChanged: function(property, value) {
if (value == 'synced' || value == 'dirty') {
modelStateChanged: function(property, value) {
if (value == 'synced' || value == 'dirty') {
- this.unfreeze();
+ this.
parent.
unfreeze();
} else if (value == 'unsynced') {
} else if (value == 'unsynced') {
- this.freeze('Niezsynchronizowany...');
+ this.
parent.
freeze('Niezsynchronizowany...');
} else if (value == 'loading') {
} else if (value == 'loading') {
- this.freeze('Ładowanie...');
+ this.
parent.
freeze('Ładowanie...');
} else if (value == 'saving') {
} else if (value == 'saving') {
- this.freeze('Zapisywanie...');
+ this.
parent.
freeze('Zapisywanie...');
}
},
}
},