Skip to content

Commit 3726429

Browse files
committed
deletes appear to be restored
1 parent f2f81e2 commit 3726429

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/assets/javascripts/backbone/helpers/channels.js.coffee

-5
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,12 @@ class Kandan.Helpers.Channels
8181

8282
@deleteChannelByTabIndex: (tabIndex, deleted)->
8383
# gotcha, 0 index being passed a natural index from the html views
84-
#tabIndex = tabIndex-1
85-
console.log("deleteChannelByTabIndex", tabIndex);
8684
deleted = deleted || false
8785
channelId = @getChannelIdByTabIndex(tabIndex)
8886
if channelId == 'undefined'
8987
throw "NO CHANNEL ID";
90-
console.log("deleteing channelId", channelId);
9188
channel = new Kandan.Models.Channel({id: channelId})
9289
return @confirmAndDeleteChannel(channel, tabIndex) if not deleted
93-
console.log "TAB INDEX", tabIndex
94-
$("#kandan").tabs("remove", tabIndex)
9590

9691

9792
@channelExists: (channelId)->

0 commit comments

Comments
 (0)