]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-20470, update texturl value in file picker"
authordongsheng <dongsheng>
Wed, 7 Oct 2009 10:13:04 +0000 (10:13 +0000)
committerdongsheng <dongsheng>
Wed, 7 Oct 2009 10:13:04 +0000 (10:13 +0000)
repository/repository.src.js

index fa8cdd599f2fb43887d21b8a862fe4419cefd408..3f6d7592c3c0c17eb8c9290034744555b743c37c 100644 (file)
@@ -1043,6 +1043,8 @@ repository_client.end = function(client_id, obj) {
             fp.target.value = obj['url'];
         }
         fp.target.onchange();
+    }else if(fp.env=='texturl') {
+        fp.target.value = obj['url'];
     }
     obj.filepath = fp.savepath;
     obj.maxfileslimit = (fp.maxfiles!=-1 && repository_client.files[client_id]>=fp.maxfiles);