fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Galeria skanów z przewijaniem, bez zoom'a.
[redakcja.git]
/
project
/
static
/
js
/
views
/
xml.js
diff --git
a/project/static/js/views/xml.js
b/project/static/js/views/xml.js
index
a1b6ca6
..
8af3c4d
100644
(file)
--- a/
project/static/js/views/xml.js
+++ b/
project/static/js/views/xml.js
@@
-58,7
+58,6
@@
var XMLView = View.extend({
},
modelDataChanged: function(property, value) {
},
modelDataChanged: function(property, value) {
- console.log('modelDataChanged');
if (this.editor.getCode() != value) {
this.editor.setCode(value);
}
if (this.editor.getCode() != value) {
this.editor.setCode(value);
}
@@
-66,13
+65,13
@@
var XMLView = 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...');
}
},
}
},