summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-07 10:47:56 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-07 10:47:56 -0700
commit49d46e4010e428b9df97a6e7c5e55708d1c674a8 (patch)
treec9d45823b89fccd0cf2bb278a3d10a4fdbb5cb5e /lib
parent46b9375d9050ba7f46def18b59ee80f0ffc15d3a (diff)
Change galleryPanel and galleryDialog widgets to gallery_panel and gallery_dialog respectively
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.dialog.js8
-rw-r--r--lib/gallery.panel.js2
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) {