fixing indentation - tabs vs. spaces

pull/6827/head
Gregor Schmidt 14 years ago
parent 31150a9e33
commit a78294f7ee
  1. 6
      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, "");
}
$("<label></label>").text(fieldLabel).appendTo(editor);

Loading…
Cancel
Save