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
/
models.js
diff --git
a/project/static/js/models.js
b/project/static/js/models.js
index
e85ed5a
..
b5b9c54
100644
(file)
--- a/
project/static/js/models.js
+++ b/
project/static/js/models.js
@@
-82,7
+82,7
@@
Editor.XMLModel = Editor.Model.extend({
$.ajax({
url: this.serverURL,
$.ajax({
url: this.serverURL,
- type: 'p
u
t',
+ type: 'p
os
t',
dataType: 'json',
data: payload,
success: this.updatingSucceeded.bind(this),
dataType: 'json',
data: payload,
success: this.updatingSucceeded.bind(this),
@@
-209,12
+209,12
@@
Editor.ImageGalleryModel = Editor.Model.extend({
alert('erroneous state:', this.get('state'));
}
alert('erroneous state:', this.get('state'));
}
-
$
.log('galleries:', data);
+
console
.log('galleries:', data);
if (data.length === 0) {
this.set('data', []);
} else {
if (data.length === 0) {
this.set('data', []);
} else {
-
$
.log('dupa');
+
console
.log('dupa');
this.set('data', data[0].pages);
}
this.set('data', data[0].pages);
}