mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-12 18:17:42 -04:00
Remove 6 more lines by removing the generalization of the close dialog processing
This commit is contained in:
@@ -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>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user