diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-08 01:47:56 +0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-08 02:08:42 +0800 |
commit | 445a8fb1b6b6f410d1ea432da6d704bf2f59a14d (patch) | |
tree | 5a8cc162780d0fc6ee47dfec70fa1364d934d52b /lib | |
parent | 30b77b5714c66f1f73fb98b61f1b17e2c84ece53 (diff) |
Change galleryPanel and galleryDialog widgets to gallery_panel and gallery_dialog respectively
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gallery.dialog.js | 8 | ||||
-rw-r--r-- | lib/gallery.panel.js | 2 |
2 files changed, 5 insertions, 5 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, diff --git a/lib/gallery.panel.js b/lib/gallery.panel.js index 98d78d2a..e0bf4259 100644 --- a/lib/gallery.panel.js +++ b/lib/gallery.panel.js @@ -1,5 +1,5 @@ (function($) { - $.widget("ui.galleryPanel", { + $.widget("ui.gallery_panel", { _init: function() { var self = this; this.element.click(function(event) { |