张驰原 wrote: > Hi, all! > > I'm currently trying the timeline. I downloaded the code from svn > repo. I run the > demo by typing './run' and visit 'http://localhost:9999/timeline > <http://localhost:9999/timeline>'. The demo appears. > But the behavior is rather strange: when you click on an event to open > a bubble, > then wherever you click your mouse(even click in the bubble), the > bubble gets closed. > I think it is a bug. In fact, it behaviors differently from your demo at > http://simile.mit.edu/timeline/ . After some debugging, I find it is > the window-manager.js > who closed the bubble. After comment the following line in > `window-manager.js ': > > SimileAjax.DOM.registerEvent(document.body,"mousedown",SimileAjax.WindowManager._onBodyMouseDown); > > It behaviors correctly(at least on this point) now. But this is a very > dirty fix, I > think. So I'm asking here why does it have this strange behavior and > how to gently fix > it. Thanks! > > ps: I'm not in this mailing list, so please CC me. :) The code in SVN is under development and that looks similar to another bug I fixed elsewhere. Thanks for spotting it. (The correct fix is elsewhere though, in the SimileAjax library.)
David _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
