-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading another page from within the loaded page executes twice #1994
Comments
test code testcode.zip |
Can you please create a fiddle/pen/bin instead of posting your code as a zip file? |
i try to create it, but it not work when click on element a index.html https://jsfiddle.net/wangxianshou/z95c2f7L/24/ |
code works on the http server https://www.lighttpd.net/ if win10 os ,then http://lighttpd.dtech.hu/ |
Seems you're using w2ui 1.4.3 - which was released in 2015. At least that's what you've linked in the fiddle. Can't you upgrade to the latest version? The distribution with the most recent fixes can be downloaded here: https://github.com/vitmalina/w2ui/tree/master/dist (w2ui.js + w2ui.css - not the files with 1.5 in the name) |
Thanks for your comments I tried the steps below case1
case2
case3
testcode_withjsnewversion |
Short description
I have an index.html with top left main panels.
The content is loaded in the following way
then in the left panel, Click on element a will load another page ( w2ui['layout'].load('main', 'data/another.html'))
but another.html is executed twice
What is current behavior
another.html is executed twice
What is desired behavior
another.html is executed once
Link to jsfidle/codepan with sample code
...
Steps to reproduce or sample
...
Thank you and I look forward to your comments
The text was updated successfully, but these errors were encountered: