linguanostra / ELFinder.Connector.NET

ELFinder Connector for .NET with support for NancyFX and ASP.NET MVC
BSD 3-Clause "New" or "Revised" License
12 stars 8 forks source link

elfinder viewchange event not firing #14

Open acdit opened 6 years ago

acdit commented 6 years ago

Hi there. I'm having trouble catching the viewchange event ... I have this:

var elfinderInstance = $("#elfinder").elfinder(options).elfinder("instance");

elfinderInstance.bind('viewchange', function(event) { ... code ... });

which does not work, and this:

elfinderInstance.bind('contextmenu', function(event) { ... code ... });

which DOES work. I've also tried it as a handler:

viewchange: function(event, elfinderInstance) { ... code ... },

but that doesn't work either. Can anyone help me understand what's wrong? Thanks so much :) Version 2.1.26 (2017-07-17)

Craig.