From 52e6588d219b59e4840bfecdf368bb0a217ee8bd Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 3 Apr 2015 21:09:18 -0400 Subject: [PATCH] Common.js - whitespace fixes --- js/Common.js | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/js/Common.js b/js/Common.js index 34fdb24960..b94f803fe2 100644 --- a/js/Common.js +++ b/js/Common.js @@ -281,8 +281,8 @@ CRM.strings = CRM.strings || {}; _.each(options, function(option) { if (option.children) { rendered += '' + - CRM.utils.renderOptions(option.children, val) + - ''; + CRM.utils.renderOptions(option.children, val) + + ''; } else { var selected = ($.inArray('' + option.key, val) > -1) ? 'selected="selected"' : ''; rendered += ''; @@ -311,11 +311,11 @@ CRM.strings = CRM.strings || {}; } } -/** - * Compare Form Input values against cached initial value. - * - * @return {Boolean} true if changes have been made. - */ + /** + * Compare Form Input values against cached initial value. + * + * @return {Boolean} true if changes have been made. + */ CRM.utils.initialValueChanged = function(el) { var isDirty = false; $(':input:visible, .select2-container:visible+:input:hidden', el).not('[type=submit], [type=button], .crm-action-menu, :disabled').each(function () { @@ -329,7 +329,7 @@ CRM.strings = CRM.strings || {}; }); return isDirty; }; - + /** * This provides defaults for ui.dialog which either need to be calculated or are different from global defaults * @@ -356,7 +356,7 @@ CRM.strings = CRM.strings || {}; } return settings; }; - + /** * Wrapper for select2 initialization function; supplies defaults * @param options object @@ -732,11 +732,11 @@ CRM.strings = CRM.strings || {}; } var markup = '
' + '   ' + '