forked from 0x2620/pandora
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:
parent
1211302b73
commit
d2b770eff1
2 changed files with 3 additions and 3 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue