Browse Source

Goofed, changed disabled to locked.

Todd Rafferty 12 năm trước cách đây
mục cha
commit
1d4ea633aa
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -2070,7 +2070,7 @@ the specific language governing permissions and limitations under the Apache Lic
         },
 
         addSelectedChoice: function (data) {
-            var enableChoice = !data.disabled,
+            var enableChoice = !data.locked,
                 enabledItem = $(
                     "<li class='select2-search-choice'>" +
                     "    <div></div>" +