From: dongsheng Date: Mon, 1 Sep 2008 02:00:15 +0000 (+0000) Subject: "MDL-13766, display file name after file downloaded" X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a846af6faeb94414edc2ff6d49195fde20c777f6;p=moodle.git "MDL-13766, display file name after file downloaded" --- 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';