atatanasov / gijgo

Gijgo - Free Javascript Controls
http://gijgo.com
MIT License
476 stars 188 forks source link

tree and adminLTE have some conflicts #296

Open benzunyinzi opened 6 years ago

benzunyinzi commented 6 years ago

Gijgo tree and the newly updated version of adminLTE have some conflicts. In the background built by adminLTE, Gijgo tree is used, but it doesn't work. before: image after: image

atatanasov commented 6 years ago

Do you have any javascript errors in the console? Can you provide a sample code that could be in use for replication of the issue.

benzunyinzi commented 6 years ago

no.There's no error in the console.Sorry, I can't provide you with demo. If you can, use this plug-in on the basis of updating the latest version of adminLTE, and you may find the same problem.

atatanasov commented 6 years ago

Could you try to include gijgo.js after all other javascript files. I guess that this is going to fix the issue.

benzunyinzi commented 6 years ago

_15210107563819

Tree in the latest version of adminLTE also uses similar usage as yours. I think it's conflict here. I don't know if you can fix anything. Oh, yeah, you said that. I tested it. Still no effect.

atatanasov commented 6 years ago

In this case I think that would be best if you submit an issues in adminLTE and referance this ticket. Can you try to exclude your referance of gijgo.js and see how it goes. Do you know what is the version of gijgo that is in use by adminLTE. I'm not able to see where gijgo is in use from their website at adminlte.io

benzunyinzi commented 6 years ago

No, no, no, I think you misunderstood. AdminLTE doesn't use gijgo. it's just that its internal use of left navigation is similar to yours. It's just a coincidence. I'm sorry I can't provide you with demo. I'm really sorry.

atatanasov commented 6 years ago

I see. AdminLTE and gijgo define jquery function with same called tree, which is making some conflicts. We are going to think about that and improve it in future versions. We may change the name of the tree function to .gijgoTree(). Thanks for the feedback. Unfotunatelly we can't help you in a short term.

benzunyinzi commented 6 years ago

Ha ha, okay. Got it. You can let me know when it's up to date. Thank you first. I figured you'd change your name to .gijgoTree(). After all, this naming is unique.

MarioPerini commented 5 years ago

For me it worked to include gijgo after admin-lte. thanks for the hint @atatanasov