thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

No method named "destroy" #38

Open GuilhermeGuiuler opened 7 years ago

GuilhermeGuiuler commented 7 years ago

Well, I'm using bootstrap4 in my application, but if I use lobipanel with bootstrap4 it gives a resizable error. And you know what it could be?

drjonnicholson commented 7 years ago

This issue has been bugging me for months, and I finally couldn't not look into it properly.

I think the reason for this is that the method destroy was renamed dispose for tooltips in Bootstrap 4, used on line 1119. All the JqueryUI things (i.e. sortable, resizable, draggable) still have methods named destroy.

So, I wasn't intending to do this, but I've made a fork of Lobipanel for Bootstrap 4, and called it Lobicard. It is a rough and ready conversion, I'm not expecting it to be perfect so any PR's are welcome. It works on the updated card system rather than the now removed panels, along with a number of other revisions.

Repository can be found here: https://github.com/drjonnicholson/lobicard, its not been put up to npm or bower or anything yet, so if you want to git it a go then use the git url (i.e. npm install https://github.com/drjonnicholson/lobicard --save).

@arboshiki, I have no problem if you'd like to take over control of Lobicard, just let me know.