From 849a3f50a362748b3a1105a17e7965a1dbdc093a Mon Sep 17 00:00:00 2001
From: Jeff Amaral <jeff@freethoughtdesign.com>
Date: Tue, 24 May 2011 12:30:46 -0400
Subject: [PATCH] Drupal Core JS Semicolon Fixes

---
 misc/ahah.js      |    2 +-
 misc/drupal.js    |    2 +-
 misc/tabledrag.js |    6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/misc/ahah.js b/misc/ahah.js
index 4a895a8..4c4fbf5 100644
--- a/misc/ahah.js
+++ b/misc/ahah.js
@@ -136,7 +136,7 @@ Drupal.ahah.prototype.beforeSubmit = function (form_values, element, options) {
   else if (this.progress.type == 'throbber') {
     this.progress.element = $('<div class="ahah-progress ahah-progress-throbber"><div class="throbber">&nbsp;</div></div>');
     if (this.progress.message) {
-      $('.throbber', this.progress.element).after('<div class="message">' + this.progress.message + '</div>')
+      $('.throbber', this.progress.element).after('<div class="message">' + this.progress.message + '</div>');
     }
     $(this.element).after(this.progress.element);
   }
diff --git a/misc/drupal.js b/misc/drupal.js
index b10ef2b..c219bf7 100644
--- a/misc/drupal.js
+++ b/misc/drupal.js
@@ -264,7 +264,7 @@ Drupal.ahahError = function(xmlhttp, uri) {
     var message = Drupal.t("An HTTP error @status occurred. \n@uri", {'@uri': uri, '@status': xmlhttp.status });
   }
   return message;
-}
+};
 
 // Global Killswitch on the <html> element
 if (Drupal.jsEnabled) {
diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index 3be8f67..d0e9738 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -322,7 +322,7 @@ Drupal.tableDrag.prototype.makeDraggable = function(item) {
             var groupHeight = 0;
             nextGroup = new self.row(nextRow, 'keyboard', self.indentEnabled, self.maxDepth, false);
             if (nextGroup) {
-              $(nextGroup.group).each(function () {groupHeight += $(this).is(':hidden') ? 0 : this.offsetHeight});
+              $(nextGroup.group).each(function () {groupHeight += $(this).is(':hidden') ? 0 : this.offsetHeight;});
               nextGroupRow = $(nextGroup.group).filter(':last').get(0);
               self.rowObject.swap('after', nextGroupRow);
               // No need to check for indentation, 0 is the only valid one.
@@ -959,7 +959,7 @@ Drupal.tableDrag.prototype.row.prototype.validIndentInterval = function (prevRow
   }
 
   return {'min':minIndent, 'max':maxIndent};
-}
+};
 
 /**
  * Indent a row within the legal bounds of the table.
@@ -1023,7 +1023,7 @@ Drupal.tableDrag.prototype.row.prototype.findSiblings = function(rowSettings) {
         // Either add immediately if this is a flat table, or check to ensure
         // that this row has the same level of indentaiton.
         if (this.indentEnabled) {
-          var checkRowIndentation = $('.indentation', checkRow).length
+          var checkRowIndentation = $('.indentation', checkRow).length;
         }
 
         if (!(this.indentEnabled) || (checkRowIndentation == rowIndentation)) {
-- 
1.7.5.2

