|
@@ -50,7 +50,6 @@ define([
|
|
|
// prepare and render html structure
|
|
// prepare and render html structure
|
|
|
var create_view = function(data) {
|
|
var create_view = function(data) {
|
|
|
var output = '';
|
|
var output = '';
|
|
|
- console.log(data);
|
|
|
|
|
data.forEach(function(entry) {
|
|
data.forEach(function(entry) {
|
|
|
output += `<details><summary>${entry.title}</summary>`;
|
|
output += `<details><summary>${entry.title}</summary>`;
|
|
|
output += '<p>Type: ';
|
|
output += '<p>Type: ';
|
|
@@ -195,7 +194,8 @@ define([
|
|
|
// Cancel the default action, if needed
|
|
// Cancel the default action, if needed
|
|
|
event.preventDefault();
|
|
event.preventDefault();
|
|
|
// Trigger the button element with a click
|
|
// Trigger the button element with a click
|
|
|
- document.getElementById("msBtn").click();
|
|
|
|
|
|
|
+ document.getElementById("msBtn").click();
|
|
|
|
|
+ //unfocus input field
|
|
|
msinput.blur();
|
|
msinput.blur();
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|