diff --git a/js/forms-json-utils.js b/js/forms-json-utils.js index c1eb96c36..5cba285ed 100644 --- a/js/forms-json-utils.js +++ b/js/forms-json-utils.js @@ -192,7 +192,7 @@ function activateFirstTabWithError(sFormId) { if ($fieldsWithError.length > 0) { $tabsContainer.tabs("option", "active", index); - return; + return false; } }); } @@ -218,7 +218,7 @@ function ReportFieldValidationStatus(sFieldId, sFormId, bValid, sExplain) if ($('#v_'+sFieldId+' img').length == 0) { $('#v_'+sFieldId).html(''); - } + }X //Avoid replacing exisiting tooltip for periodically checked element (like CKeditor fields) if($('#v_'+sFieldId).tooltip( "instance" ) === undefined) {