projects
/
qcg-portal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7113cd9
)
gridftp ui: clear selection for hidden items
author
Maciej Tronowski
<mtro@man.poznan.pl>
Mon, 20 Apr 2015 13:01:22 +0000
(15:01 +0200)
committer
Maciej Tronowski
<mtro@man.poznan.pl>
Mon, 20 Apr 2015 13:01:22 +0000
(15:01 +0200)
filex/static/filex/filex.js
patch
|
blob
|
history
diff --git
a/filex/static/filex/filex.js
b/filex/static/filex/filex.js
index
e7ad4c4
..
7eabdd2
100644
(file)
--- a/
filex/static/filex/filex.js
+++ b/
filex/static/filex/filex.js
@@
-152,7
+152,11
@@
$(function(){
},
toggleHidden: function() {
- this.$el.toggleClass('hidden', this.model.isHidden() && !this.view.showHidden());
+ var isHidden = this.model.isHidden() && !this.view.showHidden();
+ this.$el.toggleClass('hidden', isHidden);
+
+ if (isHidden && this.model.get('checked'))
+ this.model.toggle();
},
toggleChecked: function(obj, value) {