small modifications to equalize the scripts
This commit is contained in:
parent
be2afac60d
commit
a6a0507a89
3 changed files with 1 additions and 9 deletions
|
@ -105,8 +105,6 @@
|
|||
previewsContainer: '#dz-previewsCompose',
|
||||
preventDuplicates: true,
|
||||
clickable: true,
|
||||
thumbnailWidth: 100,
|
||||
thumbnailHeight: 100,
|
||||
url: "/media/photo/upload?response=url&album=",
|
||||
accept: function(file, done) {
|
||||
done();
|
||||
|
|
|
@ -75,8 +75,6 @@
|
|||
previewsContainer: '#dz-preview-{{$id}}',
|
||||
preventDuplicates: true,
|
||||
clickable: true,
|
||||
thumbnailWidth: 100,
|
||||
thumbnailHeight: 100,
|
||||
url: "/media/photo/upload?response=url&album=",
|
||||
accept: function(file, done) {
|
||||
done();
|
||||
|
|
|
@ -189,11 +189,7 @@ can load different content into the jot moadl (e.g. the item edit jot)
|
|||
previewsContainer: '#dz-preview-jot',
|
||||
url: "/media/photo/upload?response=url&album=",
|
||||
accept: function(file, done) {
|
||||
if (file.name == "justinbieber.jpg") {
|
||||
done("Naha, you don't.");
|
||||
} else {
|
||||
done();
|
||||
}
|
||||
},
|
||||
init: function() {
|
||||
this.on("success", function(file, serverResponse) {
|
||||
|
|
Loading…
Reference in a new issue