diff options
author | Chad Kieffer <chad@2tbsp.com> | 2008-12-23 01:00:23 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2008-12-23 01:00:23 +0000 |
commit | 0c89fdcfc88a88459c47fdf9df94f764d4ab7702 (patch) | |
tree | 18fdbf8e9090b8b8f9974c2ca9bd11618da83b83 /themes/default/js | |
parent | d330e4203ad9709ed7bb05a2815016e7809173c7 (diff) |
Added missing semicolons
Diffstat (limited to 'themes/default/js')
-rw-r--r-- | themes/default/js/ui.init.js | 8 |
1 files changed, 4 insertions, 4 deletions
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, |