Remove select2's search from the layer tab. #43
This commit is contained in:
@@ -315,7 +315,11 @@ $(function() {
|
|||||||
var contentSource = $('#key-editor-content__source--' + tplName).html();
|
var contentSource = $('#key-editor-content__source--' + tplName).html();
|
||||||
var contentTemplate = Handlebars.compile(contentSource);
|
var contentTemplate = Handlebars.compile(contentSource);
|
||||||
$('#key-editor-content__target').html(contentTemplate(contentContext[tplName]));
|
$('#key-editor-content__target').html(contentTemplate(contentContext[tplName]));
|
||||||
initSelect2items();
|
var noSearch = false;
|
||||||
|
if (tplName == "layer") {
|
||||||
|
noSearch = true;
|
||||||
|
}
|
||||||
|
initSelect2items(noSearch);
|
||||||
_keypress_event_handlers();
|
_keypress_event_handlers();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user