Skip to content
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

src="#{icon}" causes double page load #15

Open
iisisrael opened this issue Jan 18, 2013 · 1 comment
Open

src="#{icon}" causes double page load #15

iisisrael opened this issue Jan 18, 2013 · 1 comment

Comments

@iisisrael
Copy link

The index.htm shows src="#{icon}" as the official How Things Ought to Be Done. This causes the current page to be loaded as an image. If the current page happens to be a php script, the script gets run twice, and all kinds of nasty things can happen, like borking session variables.

@dotnetwise
Copy link

I subscribe!
The container should be moved under a

<script type="text/html">
       <div id="basic-template" class="ui-notify-tpl">
               <a class="ui-notify-cross ui-notify-close" href="#">x</a>
                <div class="ui-notify-icon">
                     <img src="{icon}" />
                 </div>
                 <h1>#{title}</h1>
                 <p>#{text}</p>
        </div>
        <div id="advanced-template">
              <!-- ... you get the idea ... -->
         </div>
</script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants