summaryrefslogtreecommitdiff
path: root/modules/organize/js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/organize/js')
-rw-r--r--modules/organize/js/organize.js14
1 files changed, 4 insertions, 10 deletions
diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js
index 6a65bfa2..3e58f3f3 100644
--- a/modules/organize/js/organize.js
+++ b/modules/organize/js/organize.js
@@ -17,9 +17,9 @@
height: height,
position: "center",
close: function () {
- $("#gOrganizeDialog").trigger("organize_close");
$("#gOrganizeDialog").dialog("destroy").remove();
- },
+ document.location.reload();
+ },
zIndex: 75
});
$.get(href, _init);
@@ -47,20 +47,14 @@
$("#gOrganizeDialog").dialog('option', 'title', $("#gOrganizeDialog fieldset legend:eq(0)").html());
}
- $("#gOrganizeDialog #gMicroThumbDone").click(_dialog_close);
- $("#gOrganizeDialog").bind("organize_close", function(target) {
- document.location.reload();
+ $("#gOrganizeDialog #gMicroThumbDone").click(function(event) {
+ $("#gOrganizeDialog").dialog("close");
});
$(".gBranchText span").click(_collapse_or_expanded_tree);
$(".gBranchText").click(_setContents);
};
- function _dialog_close(event) {
- event.preventDefault();
- $("#gOrganizeDialog").dialog("close");
- };
-
/**
* Open or close a branch. If the children is a div placeholder, replace with <ul>
*/