Skip to content
This repository
Browse code

MINOR: Whitespace cleanup ticket 6943

Make sure tabs are used consistently.
  • Loading branch information...
commit 180a305dd1d690d74e29a57afbde70ee7b24d9ab 1 parent b075dc9
Naomi Guyer authored April 18, 2012

Showing 1 changed file with 20 additions and 20 deletions. Show diff stats Hide diff stats

  1. 40  javascript/UploadField.js
40  javascript/UploadField.js
@@ -41,34 +41,34 @@
41 41
 				/* Attach classes to dropzone when element can be dropped*/
42 42
 				$(document).unbind('dragover');
43 43
 				$(document).bind('dragover', function (e) {
44  
-				    timeout = window.dropZoneTimeout;
  44
+					timeout = window.dropZoneTimeout;
45 45
 					var $target = $(e.target);
46  
-				    if (!timeout) {
47  
-				        dropZone.addClass('active');
48  
-				    } else {
49  
-				        clearTimeout(timeout);
50  
-				    }				
51  
-				    if ($target.closest('.ss-uploadfield-dropzone').length > 0) {
52  
-				        dropZone.addClass('hover');
53  
-				    } else {
54  
-				        dropZone.removeClass('hover');
55  
-				    }
56  
-				    window.dropZoneTimeout = setTimeout(function () {
57  
-				        window.dropZoneTimeout = null;
58  
-				        dropZone.removeClass('active hover');
59  
-				    }, 100);
  46
+					if (!timeout) {
  47
+						dropZone.addClass('active');
  48
+					} else {
  49
+						clearTimeout(timeout);
  50
+					}
  51
+					if ($target.closest('.ss-uploadfield-dropzone').length > 0) {
  52
+						dropZone.addClass('hover');
  53
+					} else {
  54
+						dropZone.removeClass('hover');
  55
+					}
  56
+					window.dropZoneTimeout = setTimeout(function () {
  57
+						window.dropZoneTimeout = null;
  58
+						dropZone.removeClass('active hover');
  59
+					}, 100);
60 60
 				});
61 61
 				
62 62
 				//disable default behaviour if file dropped in the wrong area
63 63
 				$(document).bind('drop dragover', function (e){					
64  
-				    e.preventDefault(); 
  64
+					e.preventDefault(); 
65 65
 				});
66  
-				
67  
-			
68  
-			
  66
+
  67
+
  68
+
69 69
 				this.setConfig(config);
70 70
 				this.fileupload($.extend(true, 
71  
-					{					
  71
+					{
72 72
 						formData: function(form) {
73 73
 							
74 74
 							return [

0 notes on commit 180a305

Please sign in to comment.
Something went wrong with that request. Please try again.