1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

No need for progress on an indetermined progressbar.

This commit is contained in:
Thomas Tanghus 2013-08-03 15:45:23 +02:00
parent 0f625797ab
commit 8895b6ff15

View File

@ -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});