From a846af6faeb94414edc2ff6d49195fde20c777f6 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Mon, 1 Sep 2008 02:00:15 +0000 Subject: [PATCH] "MDL-13766, display file name after file downloaded" --- lib/form/filepicker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/form/filepicker.php b/lib/form/filepicker.php index 9a51ef5f79..216dc2c18a 100644 --- a/lib/form/filepicker.php +++ b/lib/form/filepicker.php @@ -64,8 +64,8 @@ class MoodleQuickForm_filepicker extends HTML_QuickForm_button $filearea = $this->_filearea; $str .= << -function updatefile_$suffix(){ - document.getElementById('repo_info_$suffix').innerHTML = '$strsaved'; +function updatefile_$suffix(str){ + document.getElementById('repo_info_$suffix').innerHTML = str; } function callpicker_$suffix(){ document.body.className += ' yui-skin-sam'; -- 2.39.5