Files
gallery3/modules/organize/js/organize_init.js
Bharat Mediratta e4eec71efa Rename gallery.common.js functions to conform to our naming standards
and have some basic namespacing:
  showMessage --> gallery_show_message
  vAlign      --> gallery_valign
  showLoading --> gallery_show_loading

Convert gallery.show_full_size.js to be a jQuery function and give it a namespace:
  show_full_size --> gallery_show_full_size
2009-08-07 11:53:40 -07:00

30 lines
618 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: 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;
});
});