|
@ -265,10 +265,10 @@ $.use(["jQuery", "form", "doc", "util", "dropdown", "dict"], function($, form, d
|
265
|
265
|
rv.forEach(function(item) {
|
266
|
266
|
nlis.push({
|
267
|
267
|
tn: "li",
|
268
|
|
attrs: [{ an: "code", av: nv }, selCap],
|
|
268
|
attrs: [{ an: "code", av: item }, selCap],
|
269
|
269
|
chs: [icon_close, {
|
270
|
270
|
tn: "span",
|
271
|
|
attrs: [{ an: "code", av: item.code }, { an: "class", av: "hand-dyn-dict" }]
|
|
271
|
attrs: [{ an: "code", av: item }, { an: "class", av: "hand-dyn-dict" }]
|
272
|
272
|
}]
|
273
|
273
|
});
|
274
|
274
|
});
|
|
@ -290,7 +290,7 @@ $.use(["jQuery", "form", "doc", "util", "dropdown", "dict"], function($, form, d
|
290
|
290
|
}
|
291
|
291
|
|
292
|
292
|
if(!(cls[readOnly] || cls[showOnly])) {
|
293
|
|
$e.on("shown.dropdown", buildShown($e, dictCode, cls));
|
|
293
|
$e.on("shown.dropdown", buildShown($e, dynCache, cls));
|
294
|
294
|
$ul.on("click", "li>i", function(e) {
|
295
|
295
|
$e.addClass("dd-hold-one");
|
296
|
296
|
var idx = rv.indexOf(this.parentNode.getAttribute("code"));
|