fix a bug where selecting a list and immediately deleting it would open a confirmation dialog with list name 'undefined'

This commit is contained in:
rolux 2011-11-11 18:20:01 +00:00
commit d2b770eff1
2 changed files with 3 additions and 3 deletions

View file

@ -2,9 +2,9 @@
'use strict';
pandora.ui.deleteListDialog = function() {
pandora.ui.deleteListDialog = function(list) {
var listData = pandora.getListData(),
var listData = pandora.getListData(list),
$folderList = pandora.$ui.folderList[listData.folder],
that = Ox.Dialog({
buttons: [