From a78294f7ee07a7d5f88a6615ad1613192d095b94 Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Fri, 1 Apr 2011 09:48:02 +0200 Subject: [PATCH] fixing indentation - tabs vs. spaces --- assets/javascripts/app/model.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/app/model.js b/assets/javascripts/app/model.js index 5d85f87771..4b50d9013d 100644 --- a/assets/javascripts/app/model.js +++ b/assets/javascripts/app/model.js @@ -112,9 +112,9 @@ RB.Model = (function ($) { fieldLabel = field.attr('fieldlabel'); fieldType = field.attr('fieldtype') || 'input'; - if (!fieldLabel) { - fieldLabel = fieldName.replace(/_/ig, " ").replace(/ id$/ig, ""); - } + if (!fieldLabel) { + fieldLabel = fieldName.replace(/_/ig, " ").replace(/ id$/ig, ""); + } $("").text(fieldLabel).appendTo(editor);