adding blur treatment for org field on profile page
@@ -330,6 +330,11 @@ $(document).ready(function () {
}
});
+ $('.ui-autocomplete-input').on('blur', function(e) {
+ e.preventDefault();
+ $('.ui-autocomplete-input').trigger(jQuery.Event('keypress', { which: 13 }));
+ });
+
$('.ui-autocomplete-input').on('keydown', function(e) {
if(e.keyCode === 9 && $(this).val() !== '') {
e.preventDefault();
@@ -337,3 +342,4 @@ $(document).ready(function () {
}
});
});
+
