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

Function selectTreeNodeZSet

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

Source from the content-addressed store, hash-verified

734}
735
736function selectTreeNodeZSet (data) {
737 if (data.items.length > 0) {
738 renderEjs('templates/editZSet.ejs', data, $('#body'), function() {
739 console.log('rendered zset template');
740 if ((uiConfig.jsonViewAsDefault & uiConfig.const.jsonViewZSet) > 0) dataUIFuncs.onModeJsonButtonClick()
741 });
742 } else {
743 alert('Index out of bounds');
744 }
745}
746
747function selectTreeNodeStream (data) {
748 renderEjs('templates/editStream.ejs', data, $('#body'), function() {

Callers 1

processDataFunction · 0.85

Calls 2

renderEjsFunction · 0.85
$Function · 0.85

Tested by

no test coverage detected