From f225cbb253a47768abb63d36e9c345979a35c574 Mon Sep 17 00:00:00 2001 From: Roman Blanco Date: Mon, 16 Oct 2017 12:18:56 +0200 Subject: [PATCH] Fixed Codeclimate issues --- .../controllers/dialog_editor/dialog_editor_controller.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/controllers/dialog_editor/dialog_editor_controller.js b/app/assets/javascripts/controllers/dialog_editor/dialog_editor_controller.js index e4fd01f834a..e661b1d57e5 100644 --- a/app/assets/javascripts/controllers/dialog_editor/dialog_editor_controller.js +++ b/app/assets/javascripts/controllers/dialog_editor/dialog_editor_controller.js @@ -40,13 +40,13 @@ ManageIQ.angular.app.controller('dialogEditorController', ['$window', 'API', 'mi tab: '', box: '', field: '', - } + }; vm.modalOptions = { template: templates[type], size: 'lg', }; - vm.elementData = { type: type, tabId: tab, boxId: box, fieldId: field, } - vm.visible = true + vm.elementData = { type: type, tabId: tab, boxId: box, fieldId: field }; + vm.visible = true; } var beingCloned = null; // hack that solves recursion problem for cloneDeep