From ea44dd2e2ab02b60119e2acd9ca77db352fe3351 Mon Sep 17 00:00:00 2001 From: Dongsheng Cai Date: Fri, 10 Sep 2010 07:05:58 +0000 Subject: [PATCH] MDL-23619, fixed file path in filepicker --- repository/filepicker.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/repository/filepicker.js b/repository/filepicker.js index 9c9fe3a3ed0..b90cadd6934 100644 --- a/repository/filepicker.js +++ b/repository/filepicker.js @@ -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; @@ -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) {