CC-4721: Library -> Context Menu -> 'Add to smart block' option only takes affect once the open smart block has been saved
This commit is contained in:
parent
fa63148792
commit
a4008aaef3
1 changed files with 5 additions and 1 deletions
|
@ -915,7 +915,11 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
soundcloud.view.callback = callback;
|
soundcloud.view.callback = callback;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// remove 'Add to smart block' option if the current
|
||||||
|
// block is dynamic
|
||||||
|
if ($('input:radio[name=sp_type]:checked').val() === "1") {
|
||||||
|
delete oItems.pl_add;
|
||||||
|
}
|
||||||
items = oItems;
|
items = oItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue