summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-06-29 06:44:05 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-06-29 06:44:05 -0700
commit10b4eda6f0cbb44fde9fb3158bd174c82467f2ee (patch)
tree811d72521d8ad7bfb361030c4d320aa03b17ddea /modules/gallery/views
parent42c82ef7f081630c15a5d354205896764348a76a (diff)
parentb0bb107b7ebb5edbf3bec69ae2e716552eb1adf5 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Conflicts: modules/gallery/libraries/Theme_View.php themes/admin_default/views/admin.html.php
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/simple_uploader.html.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/views/simple_uploader.html.php b/modules/gallery/views/simple_uploader.html.php
index f10d764c..4c1e70f0 100644
--- a/modules/gallery/views/simple_uploader.html.php
+++ b/modules/gallery/views/simple_uploader.html.php
@@ -1,6 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript" src="<?= url::file("lib/swfupload/swfupload.js") ?>"></script>
<script type="text/javascript" src="<?= url::file("lib/swfupload/swfupload.queue.js") ?>"></script>
+<script type="text/javascript" src="<?= url::file("lib/jquery.scrollTo.js") ?>"></script>
<!-- hack to set the title for the dialog -->
<form id="gAddPhotosForm" action="<?= url::site("simple_uploader/finish?csrf=$csrf") ?>">
@@ -184,6 +185,7 @@
var fp = new File_Progress(file);
fp.title.html(file.name);
fp.set_status("uploading", "<?= t("Uploading...") ?>");
+ $("#gAddPhotosCanvas").scrollTo(fp.box, 1000);
return true;
// @todo add cancel button to call this.cancelUpload(file.id)
}