]> git.mjollnir.org Git - moodle.git/commitdiff
"REPOSITORY/MDL-13766, when click cancel button, go back to file listing"
authordongsheng <dongsheng>
Thu, 20 Nov 2008 05:51:47 +0000 (05:51 +0000)
committerdongsheng <dongsheng>
Thu, 20 Nov 2008 05:51:47 +0000 (05:51 +0000)
repository/javascript.php

index 95ce2190eeaa98c71d80156341a56b102539529f..23785f1d292621654aaae6768d94161cb73456f6 100644 (file)
@@ -364,9 +364,8 @@ _client.rename = function(oldname, url, icon, repo_id) {
     html += '<input type="checkbox" id="syncfile-$suffix" /></p>';
     */
     html += '<p><input type="hidden" id="fileurl-$suffix" value="'+url+'" />';
-    html += '<a href="###" onclick="repository_client_$suffix.viewfiles()">$strback</a> ';
     html += '<input type="button" onclick="repository_client_$suffix.download()" value="$strdownbtn" />';
-    html += '<input type="button" onclick="repository_client_$suffix.hide()" value="$strcancel" /></p>';
+    html += '<input type="button" onclick="repository_client_$suffix.viewfiles()" value="$strcancel" /></p>';
     html += '</div>';
     panel.get('element').innerHTML += html;
     var tree = document.getElementById('treediv-$suffix');