CC-4455: "Add to current smart block" context menu action should be disabled for dynamic smart blocks

-disabled this button in the library toolbar if dynamic blocks are open
This commit is contained in:
denise 2012-11-06 14:29:26 -05:00
parent e262d48eec
commit a1a7396ec9
2 changed files with 11 additions and 4 deletions

View file

@ -201,7 +201,8 @@ function setSmartBlockEvents() {
/********** CHANGE PLAYLIST TYPE **********/
form.find('dd[id="sp_type-element"]').live("change", function(){
setupUI();
setupUI();
AIRTIME.library.checkAddButton();
});
/********** CRITERIA CHANGE **********/