jeudi 4 juin 2015

Handlebars or ember blocking href to external url

I'm using ember.js with handlebars, and it seems external URL cannot be reached without a script. I put a link to www.google.com to test and it never fires! Is there something I am missing on?

<script type="text/x-handlebars" data-template-name="subusers">  
    <div class="click-nav" {{action 'toggleDdSubusers'}}>
        <ul class="no-js" >
            <li>
                <a class="clicker">
                    {{render 'currentsubuser'}}
                </a>
                 <ul class="filter-options">
                    {{#each subuser in model}}
                        {{#unless (equals subuser.id currentSubuserInfos.id)}}                                 
                            <li>
                                <a href="http://www.google.com">
                                    <span class="profileimg">{{{subuser.profileImage}}}</span>{{subuser.name}}<span class="numbers"> ({{subuser.openedConvCount}})</span>
                                </a>
                            </li>
                        {{/unless}}
                    {{/each}}
                </ul>
            </li>
        </ul>
    </div>
</script>




Aucun commentaire:

Enregistrer un commentaire