1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Merge pull request #2481 from sbilstein/master

Fixes #2434 Prevents whitespace only tags from being created
This commit is contained in:
Kevin Brown 2014-06-22 11:00:37 -04:00
commit fdad112682

View File

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