提交 304a1134 编写于 作者: C Catouse

* fixed an error of chosen: placeholder text doesn't display sometimes.

上级 33c9d379
......@@ -400,7 +400,7 @@ This file is generated by `grunt build`, do not edit it by hand.
_ref = this.form_field.options;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
option = _ref[_i];
if (option.selected) {
if (option.selected && option.value != '') {
this.selected_option_count += 1;
}
}
......@@ -519,9 +519,9 @@ This file is generated by `grunt build`, do not edit it by hand.
return true;
};
AbstractChosen.default_multiple_text = "Select Some Options";
AbstractChosen.default_multiple_text = "";
AbstractChosen.default_single_text = "Select an Option";
AbstractChosen.default_single_text = "";
AbstractChosen.default_no_result_text = "No results match";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册