x11 Posted July 17, 2020 Share Posted July 17, 2020 Как правильно удалить текущую страницу, на которой лежит картинка? Процесс наполнения здесь При удалении - ошибка: Cannot set property 'ownerCmp' of null. Удаляю просто: carouselPhotos.ActivePage.Free; вижу здесь похожую ошибку но там 2018 год и старая версия ExtJS. Неужели до сих пор не исправили? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2020 Share Posted July 17, 2020 2 minutes ago, x11 said: вижу здесь похожую ошибку но там 2018 год и старая версия ExtJS. Неужели до сих пор не исправили? Здравствуйте, Кажется и для версии 6.6.0: https://forum.sencha.com/forum/showthread.php?468755-6-5-2-Removing-an-item-from-Ext-carousel-Carousel-throws-exception&p=1319894&viewfull=1#post1319894 Quote Link to comment Share on other sites More sharing options...
x11 Posted July 17, 2020 Author Share Posted July 17, 2020 так а сейчас версия 7,0 в UniGUI Quote Link to comment Share on other sites More sharing options...
x11 Posted July 17, 2020 Author Share Posted July 17, 2020 Я так понял, решение какое-то есть? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2020 Share Posted July 17, 2020 9 minutes ago, x11 said: так а сейчас версия 7,0 в UniGUI Да, я знаю. 29 minutes ago, x11 said: Неужели до сих пор не исправили? Возможно да, что не исправили. И возможно, что это вопрос не к UniGUI. Мы постараемся проанализировать. 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 17, 2020 Share Posted July 17, 2020 17 minutes ago, x11 said: Я так понял, решение какое-то есть? Попробуйте такое решение: UnimCarousel.ClientEvents.UniEvents -> function afterCreate(sender) { Ext.Decorator.override({ applyComponent: function(config) { var result = Ext.factory(config); if (result) { result.ownerCmp = this; } return result; } }); } 1 Quote Link to comment Share on other sites More sharing options...
x11 Posted July 20, 2020 Author Share Posted July 20, 2020 Спасибо. Помогло. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.