cdotyone / mochaui

development tree for MochaUI
http://mochaui.org/demo/
Other
290 stars 83 forks source link

Duplicated files loaded #132

Closed robernet closed 11 years ago

robernet commented 12 years ago

I started working with MochaUI for quite some time now, and I still have too much to learn about it. But I found a strange behavior that I need to point out. I first noticed it on my project and thought I was doing something wrong, until I started using Chrome's development tools on the demo pages and saw the same behavior of duplicated .html pages loaded every time I open some of the windows. For example, when the demo page starts, it shows under Scripts of the Chrome's Developer Tools: --- localhost --- /mochaui demo/ When I click on Windows / Iframe: YouTube of the Examples panel, it shows: --- localhost --- /mochaui demo/ demo/ If I close the window and open the same window for a 2nd time, it shows: --- localhost --- /mochaui demo/ demo/ demo/ And so on. Same happens with the Virtual Desktop demo. On my project it duplicates the PHP files, when I open an iframe window like this: /mochaui sample.php?aid=12345 (here's customer's tabbed div page) sample.php?aid=67890 (here's customer's tabbed div page) sample.php?aid=54321 (here's customer's tabbed div page) desktop.php (here's customers grid) desktop.php (here's customers grid) desktop.php (here's the main html code)

I'm not entirely sure if this only happens with iframes rather that xhr, which I'm figuring out yet.

Am I doing something wrong?