From 6586e8e06f447e57b7caf1fefdf11e3ddd9dcfb9 Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Fri, 1 Jun 2018 12:50:25 +0200
Subject: [PATCH] Prefered => Preferred

---
 js/app/views/PlotComponents/PlotPanelForm.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/js/app/views/PlotComponents/PlotPanelForm.js b/js/app/views/PlotComponents/PlotPanelForm.js
index 8f483b6..8ff6ec0 100644
--- a/js/app/views/PlotComponents/PlotPanelForm.js
+++ b/js/app/views/PlotComponents/PlotPanelForm.js
@@ -49,7 +49,7 @@ Ext.define('amdaPlotComp.PlotPanelForm', {
 		
 		//Instant time visibility
 		var instantTimeField = this.getForm().findField('panel-instant-time');
-		
+		console.log(this.up().up().up().up());
 		instantTimeField.setVisible(plotType == 'instantPlot');
 		
 		//Options in relation with the layout
@@ -91,8 +91,8 @@ Ext.define('amdaPlotComp.PlotPanelForm', {
 		];
 		
 		var preferedDimItems = [
-                this.addStandardFloat('panel-prefered-width', 'Prefered Width', 0, 1, true),
-                this.addStandardFloat('panel-prefered-height', 'Prefered Height', 0, 1, true)
+                this.addStandardFloat('panel-prefered-width', 'Preferred Width', 0, 1, true),
+                this.addStandardFloat('panel-prefered-height', 'Preferred Height', 0, 1, true)
 		];
 		
 		var titleItems = [
@@ -145,7 +145,7 @@ Ext.define('amdaPlotComp.PlotPanelForm', {
 		        this.addStandardColor('panel-background-color', 'Background Color', amdaPlotObj.PlotObjectConfig.availableBackgroundColors),
 		        this.addStandardFieldSet('Manual Bounds', '', boundsItems),
 		        this.addStandardFieldSet('Manual Margins', '', marginItems),
-		        this.addStandardFieldSet('Prefered Dimensions', '', preferedDimItems),
+		        this.addStandardFieldSet('Preferred Dimensions', '', preferedDimItems),
     	        this.addStandardFieldSet('Title', '', titleItems),
 		        this.addStandardFont('panel-font'),
 		        this.addStandardFieldSet('Status Bars', '', statusItems),
--
libgit2 0.21.2