mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-25 17:24:10 -04:00
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.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
$("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;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user