MCPcopy
hub / github.com/joeferner/redis-commander / selectTreeNodeList

Function selectTreeNodeList

web/static/scripts/redisCommander.js:725–734  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

723}
724
725function selectTreeNodeList (data) {
726 if (data.items.length > 0) {
727 renderEjs('templates/editList.ejs', data, $('#body'), function() {
728 console.log('edit list template rendered');
729 if ((uiConfig.jsonViewAsDefault & uiConfig.const.jsonViewList) > 0) dataUIFuncs.onModeJsonButtonClick()
730 });
731 } else {
732 alert('Index out of bounds');
733 }
734}
735
736function selectTreeNodeZSet (data) {
737 if (data.items.length > 0) {

Callers 1

processDataFunction · 0.85

Calls 2

renderEjsFunction · 0.85
$Function · 0.85

Tested by

no test coverage detected