]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-13766, enable scrolling in repository listing"
authordongsheng <dongsheng>
Wed, 22 Oct 2008 03:59:32 +0000 (03:59 +0000)
committerdongsheng <dongsheng>
Wed, 22 Oct 2008 03:59:32 +0000 (03:59 +0000)
repository/javascript.php

index 36f3eec132d27445e166f229993c4e0af67b8b4c..36d653ce0bc831d843b76c8866b7688790cb27bb 100644 (file)
@@ -154,7 +154,7 @@ var filepicker = new YAHOO.widget.Panel('file-picker-$suffix', {
                 units: [
                 {position: 'top', height: 32, resize: false,
                 body:'<div class="yui-buttongroup fp-viewbar" id="repo-viewbar-$suffix"></div><div class="fp-searchbar" id="search-div-$suffix"></div>', gutter: '2'},
-                {position: 'left', width: 200, resize: true,
+                {position: 'left', width: 200, resize: true, scroll:true,
                 body:'<ul class="fp-list" id="repo-list-$suffix"></ul>', gutter: '0 5 0 2', minWidth: 150, maxWidth: 300 },
                 {position: 'center', body: '<div class="fp-panel" id="panel-$suffix"></div>',
                 scroll: true, gutter: '0 2 0 0' }