Fix TypeError when destroying a shared folder
This commit is contained in:
parent
38cc88480a
commit
20df2a4d53
1 changed files with 1 additions and 1 deletions
|
@ -1028,7 +1028,7 @@ define([
|
|||
|
||||
// If this is a form wiht a answer channel, delete it too
|
||||
var p = priv.propChannels;
|
||||
if (p.answersChannel) {
|
||||
if (p && p.answersChannel) {
|
||||
sframeChan.query('Q_DELETE_OWNED', {
|
||||
teamId: typeof(owned) !== "boolean" ? owned : undefined,
|
||||
channel: p.answersChannel
|
||||
|
|
Loading…
Reference in a new issue