Ember.js when use action want to render page current tap as well as new tap -


edit, calling function edit , pass id , details render edit page in same tab.now, problem unable open in new tap when try open in new tab using clrl+click not open. want open edit page current tab new tap also..

if want ctrl+click open link in new tab link needs have href set. happen automattically if use {{linkto}} handlebars helper instead of {{action}}. if reason need use action instead need manually bindattr href attribute set. have @ source linkto tag see how can done: https://github.com/emberjs/ember.js/blob/v1.0.0-rc.7/packages/ember-routing/lib/helpers/link_to.js#l323


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -