Files
gallery3/modules/organize/js/organize_init.js
Tim Almdal f1cb43430b First iteration of the organize functionality (orginally called bulk
edit).  There is limited functionality in no edits work.  This is
primary a chance for the team to review the ui.  It is in a separate
module to isolate the changes.  Eventually, it will be moved back into core.
2009-04-03 00:50:43 +00:00

25 lines
478 B
JavaScript

$("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: true,
close: closeDialog
});
//showLoading("#gDialog");
$.get(href, function(data) {
$("#gDialog").html(data);
});
return false;
});
});