Revision c4818b9d src/gr/grnet/pithos/web/client/FileUploadDialog.java
b/src/gr/grnet/pithos/web/client/FileUploadDialog.java | ||
---|---|---|
210 | 210 |
dlg.@gr.grnet.pithos.web.client.FileUploadDialog::setInProgress(Z)(true); |
211 | 211 |
up.start(); |
212 | 212 |
app.@gr.grnet.pithos.web.client.Pithos::showUploadIndicator()(); |
213 |
app.@gr.grnet.pithos.web.client.Pithos::showUploadAlert(I)(files.length); |
|
213 |
if (!dlg.@gr.grnet.pithos.web.client.FileUploadDialog::isVisible()()) |
|
214 |
app.@gr.grnet.pithos.web.client.Pithos::showUploadAlert(I)(files.length); |
|
214 | 215 |
}, |
215 | 216 |
|
216 | 217 |
FilesRemoved: function(up, files) { |
... | ... | |
226 | 227 |
up.settings.url = file.url + + "?X-Auth-Token=" + encodeURIComponent(token); |
227 | 228 |
}, |
228 | 229 |
|
230 |
UploadProgress: function(up, file) { |
|
231 |
$wnd.$('#upload_alert_progress_bar').css('width', up.total.percent + '%'); |
|
232 |
$wnd.$('#upload_alert_percent').html(up.total.percent + '%'); |
|
233 |
}, |
|
234 |
|
|
229 | 235 |
FileUploaded: function(up, file, response) { |
230 | 236 |
if ($wnd.console && $wnd.console.log) { |
231 | 237 |
$wnd.console.log('File ' + file.name + ' uploaded'); |
Also available in: Unified diff