summaryrefslogtreecommitdiff
path: root/modules/organize
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-09-12 10:57:41 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-09-12 10:57:41 -0700
commitbd532f6c88ef54bd47c9b1af46bc8d2c80d4407b (patch)
tree7522d38320d6466ac400a97ace5ba3b2d37048fd /modules/organize
parentac64614d4da7174c085f257f3b8e39aa7afa9eb5 (diff)
parentf84c4a6192ea0e47ca5b2006baa0bfd7e09a682c (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/organize')
-rw-r--r--modules/organize/views/organize_dialog.html.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index 769d6e9a..3ea1143d 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -19,7 +19,11 @@
<script type="text/javascript">
$("#g-dialog").bind("dialogclose", function(event, ui) {
// @todo do a call to organize/closing to end the batch
- window.location = $(this).data("reload.location");
+ if ($(this).data("reload.location")) {
+ window.location = $(this).data("reload.location");
+ } else {
+ window.location.reload();
+ }
});
function closeOrganizeDialog() {