summaryrefslogtreecommitdiff
path: root/modules/organize
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-09-07 21:06:50 -0700
committerBharat Mediratta <bharat@menalto.com>2010-09-07 21:06:50 -0700
commit64f79f069829afc599f4daf926c064e4843bb351 (patch)
treebab834dae8ff44f341dc632dd896b3ea58f54951 /modules/organize
parentab880120e69b27bdcfed07d3b0729108326b335d (diff)
parent5a26dd542a3cb4974870bcfeec4864d1daa616c4 (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules/organize')
-rw-r--r--modules/organize/lib/Gallery3WebClient.swfbin148799 -> 148920 bytes
-rw-r--r--modules/organize/views/organize_dialog.html.php6
2 files changed, 5 insertions, 1 deletions
diff --git a/modules/organize/lib/Gallery3WebClient.swf b/modules/organize/lib/Gallery3WebClient.swf
index b82c8a42..71daa2f9 100644
--- a/modules/organize/lib/Gallery3WebClient.swf
+++ b/modules/organize/lib/Gallery3WebClient.swf
Binary files differ
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index b76813ad..769d6e9a 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -19,13 +19,17 @@
<script type="text/javascript">
$("#g-dialog").bind("dialogclose", function(event, ui) {
// @todo do a call to organize/closing to end the batch
- window.location.reload();
+ window.location = $(this).data("reload.location");
});
function closeOrganizeDialog() {
$("#g-dialog").dialog("close");
}
+ function setLocation(url) {
+ $("#g-dialog").data("reload.location", url);
+ }
+
function setTitle(title) {
$("#ui-dialog-title-g-dialog").text(<?= t("Organize :: ")->for_js() ?> + title);
}