projects
/
pithos-web-client
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
34e7d8d
)
Fixed scrolling issue after uploading (issue #2442)
author
Christos Stathis
<chstath@ebs.gr>
Fri, 25 May 2012 09:02:04 +0000
(12:02 +0300)
committer
Christos Stathis
<chstath@ebs.gr>
Fri, 25 May 2012 09:02:04 +0000
(12:02 +0300)
src/gr/grnet/pithos/web/client/FileList.java
patch
|
blob
|
history
diff --git
a/src/gr/grnet/pithos/web/client/FileList.java
b/src/gr/grnet/pithos/web/client/FileList.java
index
d927970
..
bcd0cd2
100644
(file)
--- a/
src/gr/grnet/pithos/web/client/FileList.java
+++ b/
src/gr/grnet/pithos/web/client/FileList.java
@@
-673,10
+673,14
@@
public class FileList extends Composite {
selectionModel.setSelected(f, false);
int i = 0;
+ boolean scrolled = false;
for (File f : files) {
if (selectedUrls.contains(app.getApiPath() + f.getOwner() + f.getUri())) {
selectionModel.setSelected(f, true);
- celltable.getRowElement(i).scrollIntoView();
+ if (!scrolled) {
+ celltable.getRowElement(i).getCells().getItem(0).scrollIntoView();
+ scrolled = true;
+ }
}
i++;
}