1
0
mirror of synced 2025-02-16 20:13:16 +03:00

Fixes #2434 Tagging support allows creation of tags that are only whitespace

This commit is contained in:
Siegfried Bilstein 2014-06-21 11:36:48 -07:00
parent a73d1b2b52
commit 2690053010

View File

@ -2953,7 +2953,7 @@ the specific language governing permissions and limitations under the Apache Lic
// multi
onSelect: function (data, options) {
if (!this.triggerSelect(data)) { return; }
if (!this.triggerSelect(data) || data.text === "") { return; }
this.addSelectedChoice(data);