From 0c89fdcfc88a88459c47fdf9df94f764d4ab7702 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 23 Dec 2008 01:00:23 +0000 Subject: Added missing semicolons --- themes/default/js/ui.init.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'themes/default/js/ui.init.js') diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index 7a9c69b5..325e5299 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -26,7 +26,7 @@ $("document").ready(function() { var containerWidth = $("#gItem").width(); var oPhoto = $("#gItem img").filter(function() { return this.id.match(/gPhotoID-/); - }) + }); if (containerWidth < oPhoto.width()) { var proportion = containerWidth / oPhoto.width(); oPhoto.width(containerWidth); @@ -111,17 +111,17 @@ function openDialog(element) { $(form).ajaxSubmit({ success: function(data, textStatus) { if (data == "") { - window.location.reload() + window.location.reload(); $("#gDialog").dialog("close"); } $("#gDialog").html(data); } }); - } + }; buttons["Reset"] = function() { var form = $("#gDialog").find("form"); form[0].reset(); - } + }; $("#gDialog").dialog({ autoResize: false, -- cgit v1.2.3