Skip to content

Commit

Permalink
MDL-23619, fixed file path in filepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongsheng Cai committed Sep 10, 2010
1 parent 13e9c0a commit ea44dd2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions repository/filepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1216,10 +1216,7 @@ M.core_filepicker.init = function(Y, options) {
toolbar.appendChild(help);
}

// only show in icons view
if (this.viewmode == 1) {
this.print_path();
}
this.print_path();
},
get_page_button: function(page) {
var r = this.active_repo;
Expand Down Expand Up @@ -1314,9 +1311,6 @@ M.core_filepicker.init = function(Y, options) {
},
print_path: function() {
var client_id = this.options.client_id;
if (this.viewmode == 2) {
return;
}
var panel = Y.one('#panel-'+client_id);
var p = this.filepath;
if (p && p.length!=0) {
Expand Down

0 comments on commit ea44dd2

Please sign in to comment.