diff --git a/mozilla/webtools/testopia/testopia/js/case.js b/mozilla/webtools/testopia/testopia/js/case.js index 09d5d95e780..e861afdb5b5 100644 --- a/mozilla/webtools/testopia/testopia/js/case.js +++ b/mozilla/webtools/testopia/testopia/js/case.js @@ -643,7 +643,7 @@ NewCaseForm = function(plan_ids, product_id, run_id){ items: [{ id:'ncf-summary', xtype:'textfield', - fieldLabel: 'Summary', + fieldLabel: 'Summary', name: 'summary', allowBlank: false, width: 800 @@ -672,13 +672,13 @@ NewCaseForm = function(plan_ids, product_id, run_id){ name: 'alias' }, new PriorityCombo({ - fieldLabel: 'Priority', + fieldLabel: 'Priority  ', hiddenName: 'priority', mode: 'local', allowBlank: false }), new CaseCategoryCombo({ - fieldLabel: 'Category', + fieldLabel: 'Category', hiddenName: 'category', mode: 'local', allowBlank: false, @@ -704,7 +704,7 @@ NewCaseForm = function(plan_ids, product_id, run_id){ },{ layout: 'form', items: [new CaseStatusCombo({ - fieldLabel: 'Status', + fieldLabel: 'Status', hiddenName: 'status', mode: 'local', allowBlank: false, diff --git a/mozilla/webtools/testopia/testopia/js/plan.js b/mozilla/webtools/testopia/testopia/js/plan.js index dc96a7d78c4..5d1e4e1f305 100644 --- a/mozilla/webtools/testopia/testopia/js/plan.js +++ b/mozilla/webtools/testopia/testopia/js/plan.js @@ -331,13 +331,13 @@ Ext.extend(PlanGrid, Ext.grid.EditorGridPanel, { NewPlanForm = function(product_id){ var versionsBox = new ProductVersionCombo({ hiddenName: 'prod_version', - fieldLabel: "Product Version", + fieldLabel: "Product Version", mode:'local', params: {product_id: product_id} }); var productsBox = new ProductCombo({ hiddenName: 'product_id', - fieldLabel: "Product", + fieldLabel: "Product", mode:'local', value: product_id }); @@ -366,11 +366,11 @@ NewPlanForm = function(product_id){ layout: 'form', items: [{ xtype:'textfield', - fieldLabel: 'Plan Name', + fieldLabel: 'Plan Name', name: 'plan_name', anchor:'95%', allowBlank: false - }, new PlanTypesCombo({mode: 'local', hiddenName: 'type', fieldLabel: 'Plan Type'})] + }, new PlanTypesCombo({mode: 'local', hiddenName: 'type', fieldLabel: 'Plan Type'})] },{ columnWidth: 0.5, layout: 'form', diff --git a/mozilla/webtools/testopia/testopia/js/run.js b/mozilla/webtools/testopia/testopia/js/run.js index 5aadecaa00d..6848bcf3584 100644 --- a/mozilla/webtools/testopia/testopia/js/run.js +++ b/mozilla/webtools/testopia/testopia/js/run.js @@ -481,7 +481,7 @@ var NewRunForm = function(plan){ layout: 'form', items: [ new ProductVersionCombo({ - fieldLabel: 'Product Version', + fieldLabel: 'Product Version', hiddenName: 'prod_version', mode: 'local', forceSelection: true, @@ -492,7 +492,7 @@ var NewRunForm = function(plan){ new UserLookup({ id: 'new_run_manager', hiddenName: 'manager', - fieldLabel: 'Run Manager', + fieldLabel: 'Run Manager', allowBlank: false }) ] @@ -501,28 +501,30 @@ var NewRunForm = function(plan){ layout: 'form', items: [ new BuildCombo({ - fieldLabel: 'Build', + fieldLabel: 'Build', hiddenName: 'build', mode: 'local', forceSelection: false, allowBlank: false, typeAhead: true, - params: {product_id: plan.product_id} + params: {product_id: plan.product_id}, + emptyText: 'Select or type a new name' }), new EnvironmentCombo({ - fieldLabel: 'Environment', + fieldLabel: 'Environment', hiddenName: 'environment', mode: 'local', forceSelection: false, allowBlank: false, typeAhead: true, - params: {product_id: plan.product_id} + params: {product_id: plan.product_id}, + emptyText: 'Select or type a new name' }) ] }] },{ xtype:'textfield', - fieldLabel: 'Summary', + fieldLabel: 'Summary', layout: 'fit', id: 'run_summary', name: 'summary',