From 7d2ebf7090a015339fcef9be5935f6b380207682 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Fri, 27 Feb 2009 06:38:06 +0000 Subject: [PATCH] "REPOSITORY/MDL-13766, repaint filepicker when hide/show it" --- repository/javascript.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repository/javascript.php b/repository/javascript.php index 3d40351c256ac..f84002f92e4e9 100644 --- a/repository/javascript.php +++ b/repository/javascript.php @@ -254,6 +254,8 @@ function _client() { // public method this.show = function() { filepicker.update_instances(); + var panel = new YAHOO.util.Element('panel-$suffix'); + panel.get('element').innerHTML = ''; filepicker.show(); } this.hide = function() {