Make sure magicsuggest loses its focus class to avoid focus stealing issues with multiple on a page

This commit is contained in:
nathangray 2017-04-11 10:14:43 -06:00
parent 89fc87806a
commit ea4d7cd2c6

View File

@ -401,6 +401,11 @@ var et2_taglist = (function(){ "use strict"; return et2_selectbox.extend([et2_IR
// Do size limit checks
this.resize();
// Make sure magicsuggest loses focus class to prevent issues with
// multiple on the page
this.div.on('blur', 'input', function() {
jQuery('.ms-ctn-focus', widget.div).removeClass('ms-ctn-focus');
})
return true;
},