Update workspace delete button state properly

This commit is contained in:
Nicholas O'Leary
2013-10-30 19:25:22 +00:00
parent e02189d092
commit 60652d2095
2 changed files with 16 additions and 11 deletions

View File

@@ -87,6 +87,9 @@ RED.tabs = function() {
activateTab(tab.find("a"));
}
li.remove();
if (options.onremove) {
options.onremove(id);
}
},
activateTab: activateTab,