summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gallery.dialog.js8
-rw-r--r--themes/admin_default/css/screen.css2
-rw-r--r--themes/default/css/screen.css2
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js
index ace588f6..d1ea3edf 100644
--- a/lib/gallery.dialog.js
+++ b/lib/gallery.dialog.js
@@ -30,7 +30,7 @@
$("#gDialog").html(data).gallery_show_loading();
if ($("#gDialog form").length) {
- self._trigger("form_loaded", null, $("#gDialog form"));
+ self.form_loaded(null, $("#gDialog form"));
}
self._layout();
@@ -70,7 +70,7 @@
$("#gDialog").dialog('option', 'width', dialogWidth);
},
- form_loaded: function event(event, ui) {
+ form_loaded: function(event, ui) {
// Should be defined (and localized) in the theme
MSG_CANCEL = MSG_CANCEL || 'Cancel';
var eCancel = '<a href="#" class="gCancel">' + MSG_CANCEL + '</a>';
@@ -78,7 +78,7 @@
$("#gDialog .submit").addClass("ui-state-default ui-corner-all");
$("#gDialog .submit").parent().append(eCancel);
$("#gDialog .gCancel").click(function(event) {
- $("gDialog").dialog("close");
+ $("#gDialog").dialog("close");
event.preventDefault();
});
}
@@ -92,7 +92,7 @@
);
},
- close_dialog: function (event, ui) {
+ close_dialog: function(event, ui) {
var self = $("#gDialog").dialog("option", "self");
if ($("#gDialog form").length) {
self._trigger("form_closing", null, $("#gDialog form"));
diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css
index 88631e81..062c0e41 100644
--- a/themes/admin_default/css/screen.css
+++ b/themes/admin_default/css/screen.css
@@ -276,7 +276,7 @@ li.gError select {
/* Status messages ~~~~~~~~~~~~~~~~~~~~~~~ */
#gMessage {
- width: 99%;
+ width: 100%;
}
#gAdminAkismet .gSuccess,
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 94a67ccf..d39152e4 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -276,7 +276,7 @@ li.gError select {
/* Status messages ~~~~~~~~~~~~~~~~~~~~~~~ */
#gMessage {
- width: 99%;
+ width: 100%;
}
#gAdminAkismet .gSuccess,