mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-37831 filepicker - icons / details / tree selector buttons now work more reliably
This commit is contained in:
parent
6319737865
commit
039677df70
@ -1320,8 +1320,10 @@ M.core_filepicker.init = function(Y, options) {
|
||||
this.pathbar.removeChild(this.pathnode);
|
||||
}
|
||||
// assign callbacks for view mode switch buttons
|
||||
this.fpnode.all('.fp-vb-icons,.fp-vb-tree,.fp-vb-details').
|
||||
on('click', this.viewbar_clicked, this);
|
||||
this.fpnode.one('.fp-vb-icons').on('click', this.viewbar_clicked, this);
|
||||
this.fpnode.one('.fp-vb-tree').on('click', this.viewbar_clicked, this);
|
||||
this.fpnode.one('.fp-vb-details').on('click', this.viewbar_clicked, this);
|
||||
|
||||
// assign callbacks for toolbar links
|
||||
this.setup_toolbar();
|
||||
this.setup_select_file();
|
||||
|
Loading…
x
Reference in New Issue
Block a user