diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-07 10:47:56 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-07 10:47:56 -0700 |
commit | 49d46e4010e428b9df97a6e7c5e55708d1c674a8 (patch) | |
tree | c9d45823b89fccd0cf2bb278a3d10a4fdbb5cb5e /lib/gallery.dialog.js | |
parent | 46b9375d9050ba7f46def18b59ee80f0ffc15d3a (diff) |
Change galleryPanel and galleryDialog widgets to gallery_panel and gallery_dialog respectively
Diffstat (limited to 'lib/gallery.dialog.js')
-rw-r--r-- | lib/gallery.dialog.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index 7e0ba1b4..04ab44de 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -1,5 +1,5 @@ (function($) { - $.widget("ui.galleryDialog", { + $.widget("ui.gallery_dialog", { _init: function() { var self = this; this.element.click(function(event){ @@ -12,7 +12,7 @@ $("body").append(eDialog); if (!self.options.close) { - self.options.close = self.closeDialog; + self.options.close = self.close_dialog; } $("#gDialog").dialog(self.options); @@ -91,7 +91,7 @@ ); }, - closeDialog: function (event, ui) { + close_dialog: function (event, ui) { var self = $("#gDialog").dialog("option", "self"); self.destroy(); }, @@ -124,7 +124,7 @@ dialog_closing: function(event, ui) {} }); - $.extend($.ui.galleryDialog, { + $.extend($.ui.gallery_dialog, { defaults: { autoOpen: false, autoResize: true, |