← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17963: Code style

 

------------------------------------------------------------
revno: 17963
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-01-13 19:55:00 +0100
message:
  Code style
modified:
  dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js	2015-01-13 18:53:55 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dashboard.js	2015-01-13 18:55:00 +0000
@@ -983,20 +983,20 @@
 
 dhis2.db.viewImage = function( url, name )
 {
-  var width = 820,
-      height = 550,
-      title = i18n_viewing + " " + name;
-
-  $( "#chartImage" ).attr( "src", url );
-
-  $( "#chartView" ).dialog( {
-      autoOpen : true,
-      modal : true,
-      height : height + 65,
-      width : width + 25,
-      resizable : false,
-      title : title
-  } );
+	var width = 820,
+		height = 550,
+		title = i18n_viewing + " " + name;
+
+	$( "#chartImage" ).attr( "src", url );
+
+	$( "#chartView" ).dialog( {
+		autoOpen : true,
+		modal : true,
+		height : height + 65,
+		width : width + 25,
+		resizable : false,
+		title : title
+	} );
 }
 
 dhis2.db.viewReportDialog = function( url, name )
@@ -1009,12 +1009,12 @@
 		$( "#reportDialogView" ).html( data );
 	} );
 
-  $( "#reportDialogView" ).dialog( {
-      autoOpen : true,
-      modal : true,
-      height : height + 65,
-      width : width + 25,
-      resizable : false,
-      title : title
-  } );
+	$( "#reportDialogView" ).dialog( {
+		autoOpen : true,
+		modal : true,
+		height : height + 65,
+		width : width + 25,
+		resizable : false,
+		title : title
+	} );
 }