Cleanup
This commit is contained in:
parent
ed2020d4d2
commit
1b671e288f
@ -37,7 +37,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="searchKeyword">Keyword</label>
|
<label for="searchKeyword">Keyword <span class="label label-warning" id="customized" style="display: none;">Cutomized</span></label>
|
||||||
<select id="searchKeyword" class="form-control"></select>
|
<select id="searchKeyword" class="form-control"></select>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -131,9 +131,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.getJSON('/search', _ctx.query, function(results) {
|
$.getJSON('/search', _ctx.query, function(results) {
|
||||||
_ctx.grapher.setColumns(results.columns);
|
|
||||||
saveSnapshot(results);
|
saveSnapshot(results);
|
||||||
outputMatches(results.items, results.count);
|
outputSnapshot(results);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -168,7 +167,6 @@
|
|||||||
var searchResultCnt = String(results.length);
|
var searchResultCnt = String(results.length);
|
||||||
if (results.length < count) {
|
if (results.length < count) {
|
||||||
searchResultCnt += ' of ' + count;
|
searchResultCnt += ' of ' + count;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#resultCount').text(searchResultCnt);
|
$('#resultCount').text(searchResultCnt);
|
||||||
|
Loading…
Reference in New Issue
Block a user