mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
No need for progress on an indetermined progressbar.
This commit is contained in:
parent
0f625797ab
commit
8895b6ff15
@ -239,10 +239,6 @@ OC.Contacts = OC.Contacts || {};
|
|||||||
console.log('Upload done:', data.result);
|
console.log('Upload done:', data.result);
|
||||||
self.doImport(data.result);
|
self.doImport(data.result);
|
||||||
},
|
},
|
||||||
progressall: function (e, data) {
|
|
||||||
var progress = parseInt(data.loaded / data.total * 100, 10);
|
|
||||||
self.$importProgress.progressbar('value', progress);
|
|
||||||
},
|
|
||||||
fail: function(e, data) {
|
fail: function(e, data) {
|
||||||
console.log('fail', data);
|
console.log('fail', data);
|
||||||
OC.notify({message:data.errorThrown + ': ' + data.textStatus});
|
OC.notify({message:data.errorThrown + ': ' + data.textStatus});
|
||||||
|
Loading…
Reference in New Issue
Block a user