summaryrefslogtreecommitdiff
path: root/examples/filebrowser/js-lib
diff options
context:
space:
mode:
authorianb <devnull@localhost>2005-07-03 19:59:13 +0000
committerianb <devnull@localhost>2005-07-03 19:59:13 +0000
commit94bee1ee2c1e56ceb6a94e889a62dff2b8159e36 (patch)
treef12a173621e3f41544595dc0beae92b4d44feee6 /examples/filebrowser/js-lib
parent70f1fa9f5e88aa9083802b7f575bcf9862da06dc (diff)
downloadpaste-94bee1ee2c1e56ceb6a94e889a62dff2b8159e36.tar.gz
Refactored heavily; now each file type (of which there are currently just two) is its own class of servlet, and dispatching is done to the appropriate class.
Diffstat (limited to 'examples/filebrowser/js-lib')
-rw-r--r--examples/filebrowser/js-lib/common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/filebrowser/js-lib/common.js b/examples/filebrowser/js-lib/common.js
index a7e52c7..31a9162 100644
--- a/examples/filebrowser/js-lib/common.js
+++ b/examples/filebrowser/js-lib/common.js
@@ -13,7 +13,7 @@ function lazyToggle(container, url, options) {
if (Element.hidden(container)) {
Element.show(container);
if (! $(container).lazy_loaded) {
- new Ajax.Updater(container, url, {method: 'get'});
+ new Ajax.Updater(container, url, options);
$(container).lazy_loaded = true;
}
if (options.link) {