Prevent deleting the final tab

This commit is contained in:
Nicholas O'Leary
2013-10-28 20:48:25 +00:00
parent 419b044a12
commit a8f5d6b9ee
2 changed files with 29 additions and 2 deletions

View File

@@ -90,7 +90,10 @@ RED.tabs = function() {
},
activateTab: activateTab,
resize: updateTabWidths
resize: updateTabWidths,
count: function() {
return ul.find("li.red-ui-tab").size();
}
}
}