blob: 30bc78dde68c10c236672caf5e3d8a2020c6036c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$("document").ready(function() {
$("#gOrganizeLink").click(function(event) {
event.preventDefault();
var href = event.target.href;
$("body").append('<div id="gDialog"></div>');
$("#gDialog").dialog({
autoOpen: false,
autoResize: false,
modal: true,
resizable: false,
close: function () {
$("#gDialog").trigger("organize_close");
$("#gDialog").dialog("destroy").remove();
},
zIndex: 75
});
//$.gallery_show_loading("#gDialog");
$.get(href, function(data) {
$("#gDialog").html(data);
});
return false;
});
});
|