From 3a78a2fedde855a0df7c5f490ca2c91b46128eea Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 19 Nov 2014 16:03:12 +0000 Subject: [PATCH] Tab name changes not persisting Fixes #495 --- public/red/ui/tabs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/red/ui/tabs.js b/public/red/ui/tabs.js index c9239fe32..10f710cca 100644 --- a/public/red/ui/tabs.js +++ b/public/red/ui/tabs.js @@ -117,11 +117,11 @@ RED.tabs = (function() { contains: function(id) { return ul.find("a[href='#"+id+"']").length > 0; }, - renameTab: function(id,name) { - tabs[id].name = name; + renameTab: function(id,label) { + tabs[id].label = label; var tab = ul.find("a[href='#"+id+"']"); - tab.attr("title",name); - tab.text(name); + tab.attr("title",label); + tab.text(label); updateTabWidths(); }