Replace bootstrap popover

This commit is contained in:
Nick O'Leary
2015-07-18 15:33:31 +01:00
parent 5462e251f8
commit 705d043540
10 changed files with 164 additions and 26 deletions

View File

@@ -167,9 +167,13 @@ RED.sidebar.info = (function() {
}
function clear() {
$("#tab-info").html("");
$(content).html("");
}
function set(html) {
$(content).html(html);
}
RED.events.on("view:selection-changed",function(selection) {
if (selection.nodes) {
if (selection.nodes.length == 1) {
@@ -194,6 +198,7 @@ RED.sidebar.info = (function() {
init: init,
show: show,
refresh:refresh,
clear: clear
clear: clear,
set: set
}
})();