Commit a86cb5d2 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Item view improved

parent 115edf81
var SourceSelection = function(options) {
this.options = $.extend({
listSize : 5,
listSize : 10,
collectionColors: ["#1f77b4", "#ff7f0e", "#2ca02c", "#d62728", "#9467bd",
"#8c564b", "#e377c2", "#7f7f7f", "#bcbd22", "#17becf" ]
......@@ -43,6 +43,12 @@ SourceSelection.prototype.handleSelection = function() {
}
this.renderDatasourceList();
if (search!==undefined && search.search!==undefined) {
if ($("#expression").length>0) {
let queryString = $("#expression").val();
if (queryString==null || queryString=="") {
$("#expression").val("*");
}
}
search.search();
}
};
......@@ -206,5 +212,4 @@ SourceSelection.prototype.handleSelectionDialogAccepted = function() {
});
this.setSelectedSourceIds(allSelected ? [] : selectedDatasources);
};
};
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment